mirror of
https://github.com/libretro/RetroArch
synced 2025-04-18 14:42:30 +00:00
Simplify these checks a little.
This commit is contained in:
parent
1156406dfc
commit
9ab4e79503
@ -242,9 +242,8 @@ struct string_list *string_list_new_special(enum string_list_type type,
|
|||||||
|
|
||||||
for (i = 0; i < *list_size; i++)
|
for (i = 0; i < *list_size; i++)
|
||||||
{
|
{
|
||||||
const char *opt = NULL;
|
|
||||||
const core_info_t *info = (const core_info_t*)&core_info[i];
|
const core_info_t *info = (const core_info_t*)&core_info[i];
|
||||||
opt = info ? info->path : NULL;
|
const char *opt = info->path;
|
||||||
|
|
||||||
if (!opt)
|
if (!opt)
|
||||||
goto error;
|
goto error;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user