mirror of
https://github.com/libretro/RetroArch
synced 2025-04-11 00:44:20 +00:00
Get rid of unused variable
This commit is contained in:
parent
905577ea3b
commit
4baea28be5
@ -282,7 +282,6 @@ int menu_driver_iterate(enum menu_action action)
|
|||||||
|
|
||||||
static void menu_driver_toggle(bool latch)
|
static void menu_driver_toggle(bool latch)
|
||||||
{
|
{
|
||||||
const menu_ctx_driver_t *driver = menu_driver_ctx;
|
|
||||||
settings_t *settings = config_get_ptr();
|
settings_t *settings = config_get_ptr();
|
||||||
global_t *global = global_get_ptr();
|
global_t *global = global_get_ptr();
|
||||||
rarch_system_info_t *system = NULL;
|
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);
|
runloop_ctl(RUNLOOP_CTL_SYSTEM_INFO_GET, &system);
|
||||||
menu_driver_ctl(RARCH_MENU_CTL_TOGGLE, &latch);
|
menu_driver_ctl(RARCH_MENU_CTL_TOGGLE, &latch);
|
||||||
|
|
||||||
|
|
||||||
if (latch)
|
if (latch)
|
||||||
menu_driver_ctl(RARCH_MENU_CTL_SET_ALIVE, NULL);
|
menu_driver_ctl(RARCH_MENU_CTL_SET_ALIVE, NULL);
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user