From 3545af1d6dcdd5f9b15ed6741145e4f50f6f7a09 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 25 Jun 2015 16:17:46 +0200 Subject: [PATCH] Remove unused prototype --- command_event.c | 2 ++ menu/menu.h | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/command_event.c b/command_event.c index 73a3fea3c5..143fd67b57 100644 --- a/command_event.c +++ b/command_event.c @@ -564,6 +564,8 @@ static bool event_load_save_files(void) unsigned i; global_t *global = global_get_ptr(); + if (!global) + return false; if (!global->savefiles || global->sram_load_disable) return false; diff --git a/menu/menu.h b/menu/menu.h index 33c15a8fce..69fe765111 100644 --- a/menu/menu.h +++ b/menu/menu.h @@ -195,8 +195,6 @@ void menu_common_load_content(bool persist, enum rarch_core_type type); void menu_common_push_content_settings(void); -void menu_update_system_info(menu_handle_t *menu, bool *load_no_content); - #ifdef __cplusplus } #endif