From 42e110195739a8ef172b3788cbdc7e7be2561adc Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 3 Aug 2014 01:57:37 +0200 Subject: [PATCH] menu_common.c - cleanups --- frontend/menu/menu_common.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/frontend/menu/menu_common.c b/frontend/menu/menu_common.c index 6342a5e5ae..59145755ef 100644 --- a/frontend/menu/menu_common.c +++ b/frontend/menu/menu_common.c @@ -144,9 +144,7 @@ static void load_menu_content_prepare(void) void load_menu_content_history(unsigned game_index) { - const char *path = NULL; - const char *core_path = NULL; - const char *core_name = NULL; + const char *path, *core_path, *core_name = NULL; if (!driver.menu) return; @@ -519,8 +517,7 @@ bool menu_replace_config(const char *path) bool menu_save_new_config(void) { char config_dir[PATH_MAX], config_name[PATH_MAX], config_path[PATH_MAX], msg[512]; - bool ret = false; - bool found_path = false; + bool ret, found_path = false; *config_dir = '\0';