(iOS) Get rid of 'unused variables' warnings

This commit is contained in:
Squarepusher 2013-11-22 01:28:54 +01:00
parent 3f47951d3d
commit 6500f9bd21

View File

@ -406,6 +406,8 @@ void apple_gfx_ctx_update_window_title(void)
bool fps_draw = g_settings.fps_show;
bool got_text = gfx_get_fps(buf, sizeof(buf), fps_draw ? buf_fps : NULL, sizeof(buf_fps));
static const char* const text = buf; // < Can't access buf directly in the block
(void)got_text;
(void)text;
#ifdef OSX
if (got_text)
{