Silence unused variable warnings

This commit is contained in:
twinaphex 2015-03-21 06:55:34 +01:00
parent 276e3d1767
commit 3676917265
4 changed files with 7 additions and 0 deletions

View File

@ -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)
{

View File

@ -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);

View File

@ -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;

View File

@ -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);