remove unused variables

This commit is contained in:
Twinaphex 2017-04-25 18:54:41 +02:00
parent 5f9f43929a
commit 840034d4a0
3 changed files with 0 additions and 3 deletions

View File

@ -121,7 +121,6 @@ static int action_scan_input_desc(const char *path,
const char *label, unsigned type, size_t idx)
{
const char *menu_label = NULL;
settings_t *settings = config_get_ptr();
unsigned key = 0;
unsigned inp_desc_user = 0;
struct retro_keybind *target = NULL;

View File

@ -1332,7 +1332,6 @@ static int setting_action_ok_bind_defaults(void *data, bool wraparound)
struct retro_keybind *target = NULL;
const struct retro_keybind *def_binds = NULL;
rarch_setting_t *setting = (rarch_setting_t*)data;
settings_t *settings = config_get_ptr();
(void)wraparound;

View File

@ -86,7 +86,6 @@ static int menu_input_key_bind_set_mode_common(
unsigned bind_type = 0;
menu_displaylist_info_t info = {0};
struct retro_keybind *keybind = NULL;
settings_t *settings = config_get_ptr();
unsigned index_offset = setting->index_offset;
file_list_t *menu_stack = menu_entries_get_menu_stack_ptr(0);
size_t selection = menu_navigation_get_selection();