mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
(Menu) fix warnings - can't return NULL here
This commit is contained in:
parent
2f151896eb
commit
b5588231ec
@ -311,7 +311,7 @@ static int playlist_association_left(unsigned type, const char *label,
|
||||
|
||||
core_info_list_t *list = (global->core_info.list) ? global->core_info.list : NULL;
|
||||
if (!list)
|
||||
return NULL;
|
||||
return -1;
|
||||
|
||||
struct string_list *stnames = string_split(settings->playlist_names, ";");
|
||||
struct string_list *stcores = string_split(settings->playlist_cores, ";");
|
||||
|
@ -336,7 +336,7 @@ static int playlist_association_right(unsigned type, const char *label,
|
||||
|
||||
core_info_list_t *list = (global->core_info.list) ? global->core_info.list : NULL;
|
||||
if (!list)
|
||||
return NULL;
|
||||
return -1;
|
||||
|
||||
struct string_list *stnames = string_split(settings->playlist_names, ";");
|
||||
struct string_list *stcores = string_split(settings->playlist_cores, ";");
|
||||
|
Loading…
x
Reference in New Issue
Block a user