From 22bd770571bf6986780ee7859d0f6ecee337e7b3 Mon Sep 17 00:00:00 2001 From: Twinaphex Date: Sat, 24 Sep 2016 16:51:45 +0200 Subject: [PATCH] Cleanup unused variable --- command.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/command.c b/command.c index 0a895afb16..70572bb4ca 100644 --- a/command.c +++ b/command.c @@ -1608,16 +1608,13 @@ void command_event_save_current_config(int override_type) if (settings->config_save_on_exit && !path_is_config_empty()) { - bool ret = false; - const char *config_path = path_get_config(); - /* Save last core-specific config to the default config location, * needed on consoles for core switching and reusing last good * config for new cores. */ /* Flush out the core specific config. */ - command_event_save_config(config_path, msg, sizeof(msg)); + command_event_save_config(path_get_config(), msg, sizeof(msg)); } }