diff --git a/command_event.c b/command_event.c index d0a8ce03bd..4d3fd6d667 100644 --- a/command_event.c +++ b/command_event.c @@ -526,8 +526,6 @@ static void event_set_savestate_auto_index(void) static bool event_init_content(void) { - global_t *global = global_get_ptr(); - /* No content to be loaded for dummy core, * just successfully exit. */ if (rarch_ctl(RARCH_CTL_IS_DUMMY_CORE, NULL)) diff --git a/menu/drivers/materialui.c b/menu/drivers/materialui.c index f4380ce031..d2920a678c 100644 --- a/menu/drivers/materialui.c +++ b/menu/drivers/materialui.c @@ -1291,7 +1291,6 @@ static int mui_list_push(void *data, void *userdata, int ret = -1; core_info_list_t *list = NULL; menu_handle_t *menu = (menu_handle_t*)data; - global_t *global = global_get_ptr(); (void)userdata; diff --git a/menu/drivers/xmb.c b/menu/drivers/xmb.c index 053e31765d..fb7dac1987 100644 --- a/menu/drivers/xmb.c +++ b/menu/drivers/xmb.c @@ -2561,7 +2561,6 @@ static int xmb_list_push(void *data, void *userdata, menu_displaylist_info_t *in { int ret = -1; menu_handle_t *menu = (menu_handle_t*)data; - global_t *global = global_get_ptr(); switch (type) { diff --git a/menu/menu_displaylist.c b/menu/menu_displaylist.c index eec39d500f..2341f72c57 100644 --- a/menu/menu_displaylist.c +++ b/menu/menu_displaylist.c @@ -1804,7 +1804,6 @@ static int menu_displaylist_parse_load_content_settings(menu_displaylist_info_t static int menu_displaylist_parse_horizontal_content_actions(menu_displaylist_info_t *info) { menu_handle_t *menu = menu_driver_get_ptr(); - global_t *global = global_get_ptr(); settings_t *settings = config_get_ptr(); unsigned idx = rpl_entry_selection_ptr; const char *label = NULL; @@ -2429,7 +2428,6 @@ int menu_displaylist_push_list(menu_displaylist_info_t *info, unsigned type) struct video_shader *shader = NULL; #endif menu_handle_t *menu = menu_driver_get_ptr(); - global_t *global = global_get_ptr(); settings_t *settings = config_get_ptr(); rarch_system_info_t *system = NULL; core_info_list_t *list = NULL;