mirror of
https://github.com/libretro/RetroArch.git
synced 2024-12-01 04:00:32 +00:00
(menu_action.c) Fix 'declaration shadows a global variable' warning
This commit is contained in:
parent
4ff31b9357
commit
16a9cb338d
@ -224,16 +224,16 @@ void menu_action_setting_driver(
|
||||
else if (setting->flags & SD_FLAG_IS_DRIVER)
|
||||
{
|
||||
const char *label = setting->name;
|
||||
char *driver = (char*)setting->value.string;
|
||||
char *drv = (char*)setting->value.string;
|
||||
size_t sizeof_driver = setting->size;
|
||||
|
||||
switch (action)
|
||||
{
|
||||
case MENU_ACTION_LEFT:
|
||||
find_prev_driver(label, driver, sizeof_driver);
|
||||
find_prev_driver(label, drv, sizeof_driver);
|
||||
break;
|
||||
case MENU_ACTION_RIGHT:
|
||||
find_next_driver(label, driver, sizeof_driver);
|
||||
find_next_driver(label, drv, sizeof_driver);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user