From a04e32407d179e5ea42eee3ce58ac6ff8c859b72 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Tue, 11 Mar 2008 09:01:38 +0000 Subject: [PATCH] Mark Y variable in EPILOG macro as av_unused to avoid unused variable warnings. Originally committed as revision 26220 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale --- libswscale/yuv2rgb.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libswscale/yuv2rgb.c b/libswscale/yuv2rgb.c index 8b4622311c..8ece0f6183 100644 --- a/libswscale/yuv2rgb.c +++ b/libswscale/yuv2rgb.c @@ -276,8 +276,7 @@ static int func_name(SwsContext *c, uint8_t* src[], int srcStride[], int srcSlic dst_2 += dst_delta;\ }\ if (c->dstW & 4) {\ - int av_unused U, V;\ - int Y;\ + int av_unused Y, U, V;\ #define EPILOG2()\ }\