From bb4c0abc7c9b13772847b9411aaad909afe8560f Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Sun, 15 Jan 2012 13:27:45 +0100 Subject: [PATCH] ffplay: mark i variable in toggle_full_screen() as unused MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix gcc warning: ffplay.c: In function ‘toggle_full_screen’: ffplay.c:2792:9: warning: unused variable ‘i’ [-Wunused-variable] --- ffplay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffplay.c b/ffplay.c index 749cfc7b91..4fd8b36a15 100644 --- a/ffplay.c +++ b/ffplay.c @@ -2769,7 +2769,7 @@ static void stream_cycle_channel(VideoState *is, int codec_type) static void toggle_full_screen(VideoState *is) { - int i; + av_unused int i; is_full_screen = !is_full_screen; #if defined(__APPLE__) && SDL_VERSION_ATLEAST(1, 2, 14) /* OS X needs to reallocate the SDL overlays */