mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 08:30:16 +00:00
Silence unused variable warnings
This commit is contained in:
parent
276e3d1767
commit
3676917265
@ -152,6 +152,8 @@ void find_video_driver(void)
|
||||
global_t *global = global_get_ptr();
|
||||
settings_t *settings = config_get_ptr();
|
||||
|
||||
(void)global;
|
||||
|
||||
#if defined(HAVE_OPENGL) && defined(HAVE_FBO)
|
||||
if (global->system.hw_render_callback.context_type)
|
||||
{
|
||||
|
@ -697,6 +697,7 @@ void retro_init_libretro_cbs(void *data)
|
||||
return;
|
||||
|
||||
(void)driver;
|
||||
(void)global;
|
||||
|
||||
pretro_set_video_refresh(video_frame);
|
||||
pretro_set_audio_sample(audio_sample);
|
||||
|
@ -281,6 +281,8 @@ static void rgui_render_messagebox(const char *message)
|
||||
if (!message || !*message)
|
||||
return;
|
||||
|
||||
(void)settings;
|
||||
|
||||
list = string_split(message, "\n");
|
||||
if (!list)
|
||||
return;
|
||||
|
@ -596,6 +596,8 @@ static int action_ok_core_load(const char *path,
|
||||
if (!menu)
|
||||
return -1;
|
||||
|
||||
(void)global;
|
||||
|
||||
menu_list_get_last_stack(menu->menu_list,
|
||||
&menu_path, NULL, NULL);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user