Get rid of unused variable

This commit is contained in:
twinaphex 2015-12-11 15:41:29 +01:00
parent 905577ea3b
commit 4baea28be5

View File

@ -282,7 +282,6 @@ int menu_driver_iterate(enum menu_action action)
static void menu_driver_toggle(bool latch)
{
const menu_ctx_driver_t *driver = menu_driver_ctx;
settings_t *settings = config_get_ptr();
global_t *global = global_get_ptr();
rarch_system_info_t *system = NULL;
@ -290,7 +289,6 @@ static void menu_driver_toggle(bool latch)
runloop_ctl(RUNLOOP_CTL_SYSTEM_INFO_GET, &system);
menu_driver_ctl(RARCH_MENU_CTL_TOGGLE, &latch);
if (latch)
menu_driver_ctl(RARCH_MENU_CTL_SET_ALIVE, NULL);
else