From 6500f9bd21b1b4e18230201719542aeec9377771 Mon Sep 17 00:00:00 2001 From: Squarepusher Date: Fri, 22 Nov 2013 01:28:54 +0100 Subject: [PATCH] (iOS) Get rid of 'unused variables' warnings --- apple/common/RAGameView.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apple/common/RAGameView.m b/apple/common/RAGameView.m index 1d9f992d94..1682cb828c 100644 --- a/apple/common/RAGameView.m +++ b/apple/common/RAGameView.m @@ -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) {