Get rid of unused local variables

This commit is contained in:
Twinaphex 2017-04-25 17:19:31 +02:00
parent e1e83b17b7
commit 129da8a802
3 changed files with 0 additions and 4 deletions

View File

@ -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++)

View File

@ -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';

View File

@ -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)