mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
Fix for getting rid of warnings when compiling without libretrodb
This commit is contained in:
parent
663c82f97a
commit
cd2b835f8c
@ -5287,7 +5287,9 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type,
|
||||
case DISPLAYLIST_DATABASE_ENTRY:
|
||||
menu_entries_ctl(MENU_ENTRIES_CTL_CLEAR, info->list);
|
||||
{
|
||||
#ifdef HAVE_LIBRETRODB
|
||||
bool parse_database = false;
|
||||
#endif
|
||||
struct string_list *str_list = NULL;
|
||||
|
||||
if (!string_is_empty(info->label))
|
||||
@ -5311,7 +5313,9 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type,
|
||||
{
|
||||
info->path_b = strdup(str_list->elems[1].data);
|
||||
info->label = strdup(str_list->elems[0].data);
|
||||
#ifdef HAVE_LIBRETRODB
|
||||
parse_database = true;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@ -7775,6 +7779,8 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type,
|
||||
union string_list_elem_attr attr;
|
||||
struct string_list *str_list = string_list_new();
|
||||
|
||||
(void)attr;
|
||||
|
||||
attr.i = 0;
|
||||
new_exts[0] = '\0';
|
||||
|
||||
|
@ -20390,8 +20390,7 @@ rarch_system_info_t *runloop_get_system_info(void)
|
||||
|
||||
struct retro_system_info *runloop_get_libretro_system_info(void)
|
||||
{
|
||||
struct retro_system_info *system = &runloop_system.info;
|
||||
return system;
|
||||
return &runloop_system.info;
|
||||
}
|
||||
|
||||
char *get_retroarch_launch_arguments(void)
|
||||
|
Loading…
x
Reference in New Issue
Block a user