mirror of
https://github.com/libretro/RetroArch
synced 2025-04-09 21:45:45 +00:00
Get rid of 'declaration shadows local variable' warning in Xcode/Clang
This commit is contained in:
parent
63fe97c0a5
commit
e98749e2a0
@ -1877,9 +1877,9 @@ static int deferred_push_core_cheat_options(void *data, void *userdata,
|
|||||||
|
|
||||||
for (i = 0; i < cheat->size; i++)
|
for (i = 0; i < cheat->size; i++)
|
||||||
{
|
{
|
||||||
char label[64];
|
char cheat_label[64];
|
||||||
snprintf(label, sizeof(label), "Cheat #%d: ", i);
|
snprintf(cheat_label, sizeof(cheat_label), "Cheat #%d: ", i);
|
||||||
menu_list_push(list, label, "", MENU_SETTINGS_CHEAT_BEGIN + i, 0);
|
menu_list_push(list, cheat_label, "", MENU_SETTINGS_CHEAT_BEGIN + i, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (driver.menu_ctx && driver.menu_ctx->populate_entries)
|
if (driver.menu_ctx && driver.menu_ctx->populate_entries)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user