Remove some unused variables

This commit is contained in:
twinaphex 2015-10-31 18:13:03 +01:00
parent f8fae2914f
commit 3a7799f132
2 changed files with 1 additions and 3 deletions

View File

@ -255,7 +255,6 @@ bool menu_display_ctl(enum menu_display_ctl_state state, void *data)
return true;
case MENU_DISPLAY_CTL_LIBRETRO_RUNNING:
{
driver_t *driver = driver_get_ptr();
global_t *global = global_get_ptr();
if (!settings->menu.pause_libretro)
if (global->inited.main && (global->inited.core.type != CORE_TYPE_DUMMY))

View File

@ -2499,10 +2499,9 @@ int menu_displaylist_push_list(menu_displaylist_info_t *info, unsigned type)
if (str_list && str_list->size)
{
unsigned i, j;
unsigned i;
char new_playlist_names[PATH_MAX_LENGTH] = {0};
char new_playlist_cores[PATH_MAX_LENGTH] = {0};
union string_list_elem_attr attr = {0};
settings_t *settings = config_get_ptr();
struct string_list *str_list2 = NULL;