(Menu) Cleanups

This commit is contained in:
Twinaphex 2014-08-30 03:09:28 +02:00
parent 0bc916a7e0
commit 076ee20fa9
3 changed files with 1 additions and 3 deletions

View File

@ -67,7 +67,6 @@ static void menu_common_entries_init(menu_handle_t *menu, unsigned menu_type)
{
unsigned i;
char tmp[256];
rarch_setting_t *current_setting = NULL;
rarch_setting_t *setting_data = (rarch_setting_t *)setting_data_get_list();
switch (menu_type)

View File

@ -449,8 +449,8 @@ static void rgui_render(void)
file_list_get_at_offset(driver.menu->selection_buf, i, &path, &type);
rarch_setting_t *setting = (rarch_setting_t*)setting_data_find_setting(
setting_data_get_list(), driver.menu->selection_buf->list[i].label);
unsigned w = 19;
(void)setting;
if (menu_type == MENU_SETTINGS_PERFORMANCE_COUNTERS)
w = 28;
else if (menu_type == MENU_SETTINGS_INPUT_OPTIONS || menu_type == MENU_SETTINGS_CUSTOM_BIND || menu_type == MENU_SETTINGS_CUSTOM_BIND_KEYBOARD)

View File

@ -368,7 +368,6 @@ void menu_ticker_line(char *buf, size_t len, unsigned index,
void menu_flush_stack_type(unsigned final_type)
{
unsigned type = 0;
rarch_setting_t *setting = NULL;
if (!driver.menu)
return;