mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-25 00:49:47 +00:00
Cleanup
This commit is contained in:
parent
6cd2173382
commit
5da4cb754a
@ -233,7 +233,6 @@ static void menu_list_push(file_list_t *list,
|
||||
size_t idx;
|
||||
const menu_ctx_driver_t *driver = menu_ctx_driver_get_ptr();
|
||||
menu_file_list_cbs_t *cbs = NULL;
|
||||
rarch_setting_t *setting = NULL;
|
||||
if (!list || !label)
|
||||
return;
|
||||
|
||||
@ -253,9 +252,7 @@ static void menu_list_push(file_list_t *list,
|
||||
|
||||
file_list_set_actiondata(list, idx, cbs);
|
||||
|
||||
setting = menu_setting_find(label);
|
||||
|
||||
cbs->setting = (setting) ? setting : NULL;
|
||||
cbs->setting = menu_setting_find(label);
|
||||
|
||||
menu_cbs_init(list, cbs, path, label, type, idx);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user