summaryrefslogtreecommitdiff
path: root/ffplay.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2012-01-15 13:27:45 +0100
committerStefano Sabatini <stefasab@gmail.com>2012-01-15 14:51:59 +0100
commitbb4c0abc7c9b13772847b9411aaad909afe8560f (patch)
tree84aca0d474982402d71d527d97753ee62c22863e /ffplay.c
parent4ee03fef531b259420a4c6182bc68a11028bce6c (diff)
ffplay: mark i variable in toggle_full_screen() as unused
Fix gcc warning: ffplay.c: In function ‘toggle_full_screen’: ffplay.c:2792:9: warning: unused variable ‘i’ [-Wunused-variable]
Diffstat (limited to 'ffplay.c')
-rw-r--r--ffplay.c2
1 files changed, 1 insertions, 1 deletions
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 */