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]
This commit is contained in:
Stefano Sabatini 2012-01-15 13:27:45 +01:00
parent 4ee03fef53
commit bb4c0abc7c
1 changed files with 1 additions and 1 deletions

View File

@ -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 */