From 799ff640f8c15dde5f8d65fdd71f91bab7aaa5fe Mon Sep 17 00:00:00 2001 From: taiyu Date: Tue, 8 Sep 2015 10:28:53 -0700 Subject: remove old things --- sway/config.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'sway/config.c') diff --git a/sway/config.c b/sway/config.c index 7d3104c7..11394a7c 100644 --- a/sway/config.c +++ b/sway/config.c @@ -214,12 +214,9 @@ bool load_config(const char *file) { bool read_config(FILE *file, bool is_active) { struct sway_config *old_config = config; - struct sway_mode *default_mode; config = malloc(sizeof(struct sway_config)); config_defaults(config); - default_mode = config->current_mode; - if (is_active) { sway_log(L_DEBUG, "Performing configuration file reload"); config->reloading = true; -- cgit v1.2.3