mirror of
https://github.com/libretro/RetroArch
synced 2025-01-17 19:14:56 +00:00
Get rid of unused local variables
This commit is contained in:
parent
e1e83b17b7
commit
129da8a802
@ -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++)
|
||||
|
@ -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';
|
||||
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user