diff --git a/command.c b/command.c index 27f78745d5..c0e3a13ec4 100644 --- a/command.c +++ b/command.c @@ -1118,7 +1118,6 @@ static void command_event_set_volume(float gain) static void command_event_init_controllers(void) { unsigned i; - settings_t *settings = config_get_ptr(); rarch_system_info_t *info = runloop_get_system_info(); for (i = 0; i < MAX_USERS; i++) diff --git a/menu/menu_displaylist.c b/menu/menu_displaylist.c index fe1b8d8ed8..8b4fa7d96b 100644 --- a/menu/menu_displaylist.c +++ b/menu/menu_displaylist.c @@ -525,7 +525,6 @@ static int menu_displaylist_parse_system_info(menu_displaylist_info_t *info) #endif const char *tmp_string = NULL; const frontend_ctx_driver_t *frontend = frontend_get_ptr(); - settings_t *settings = config_get_ptr(); tmp[0] = feat_str[0] = '\0'; diff --git a/menu/menu_setting.c b/menu/menu_setting.c index 61f3ba64a7..8fb161886b 100644 --- a/menu/menu_setting.c +++ b/menu/menu_setting.c @@ -1117,7 +1117,6 @@ static int setting_action_left_libretro_device_type( types = 0, port = 0; const struct retro_controller_info *desc = NULL; rarch_setting_t *setting = (rarch_setting_t*)data; - settings_t *settings = config_get_ptr(); rarch_system_info_t *system = NULL; if (!setting) @@ -1185,7 +1184,6 @@ static int setting_action_right_libretro_device_type( types = 0, port = 0; const struct retro_controller_info *desc = NULL; rarch_setting_t *setting = (rarch_setting_t*)data; - settings_t *settings = config_get_ptr(); rarch_system_info_t *system = runloop_get_system_info(); if (!setting)