mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Prevent some warnings
This commit is contained in:
parent
c872edcc2b
commit
8c2070947e
@ -504,6 +504,7 @@ static bool hw_render_context_is_vulkan(enum retro_hw_context_type type)
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_OPENGL)
|
||||
static bool hw_render_context_is_gl(enum retro_hw_context_type type)
|
||||
{
|
||||
switch (type)
|
||||
@ -520,6 +521,7 @@ static bool hw_render_context_is_gl(enum retro_hw_context_type type)
|
||||
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
|
||||
bool *video_driver_get_threaded(void)
|
||||
{
|
||||
|
@ -2585,7 +2585,9 @@ static void cb_generic_download(void *task_data,
|
||||
void *user_data, const char *err)
|
||||
{
|
||||
char output_path[PATH_MAX_LENGTH];
|
||||
bool extract = true;
|
||||
#if defined(HAVE_COMPRESSION) && defined(HAVE_ZLIB)
|
||||
bool extract = true;
|
||||
#endif
|
||||
const char *dir_path = NULL;
|
||||
menu_file_transfer_t *transf = (menu_file_transfer_t*)user_data;
|
||||
settings_t *settings = config_get_ptr();
|
||||
@ -2609,7 +2611,9 @@ static void cb_generic_download(void *task_data,
|
||||
break;
|
||||
case MENU_ENUM_LABEL_CB_CORE_CONTENT_DOWNLOAD:
|
||||
dir_path = settings->paths.directory_core_assets;
|
||||
#if defined(HAVE_COMPRESSION) && defined(HAVE_ZLIB)
|
||||
extract = settings->bools.network_buildbot_auto_extract_archive;
|
||||
#endif
|
||||
break;
|
||||
case MENU_ENUM_LABEL_CB_UPDATE_CORE_INFO_FILES:
|
||||
dir_path = settings->paths.path_libretro_info;
|
||||
|
Loading…
x
Reference in New Issue
Block a user