mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-07 12:16:45 +00:00
Fix 'logically dead code'
This commit is contained in:
parent
99d450673e
commit
d4051fcc27
@ -267,13 +267,8 @@ struct string_list *string_list_new_special(enum string_list_type type,
|
||||
|
||||
for (i = 0; i < *list_size; i++)
|
||||
{
|
||||
const char *opt = NULL;
|
||||
core_info_t *info = (core_info_t*)&core_info[i];
|
||||
|
||||
if (!info)
|
||||
goto error;
|
||||
|
||||
opt = info->display_name;
|
||||
core_info_t *info = (core_info_t*)&core_info[i];
|
||||
const char *opt = info->display_name;
|
||||
|
||||
if (!opt)
|
||||
goto error;
|
||||
|
Loading…
x
Reference in New Issue
Block a user