From 896f3ac12b6c3edb54b349a816dabc59dbf237d6 Mon Sep 17 00:00:00 2001 From: lucabe Date: Tue, 26 Dec 2006 17:59:28 +0000 Subject: Mark some variables as possibly unused to avoid warnings git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21775 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libswscale/swscale.c | 2 +- libswscale/yuv2rgb.c | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/libswscale/swscale.c b/libswscale/swscale.c index 00d2168958..6bd80235b5 100644 --- a/libswscale/swscale.c +++ b/libswscale/swscale.c @@ -386,7 +386,7 @@ static inline void yuv2nv12XinC(int16_t *lumFilter, int16_t **lumSrc, int lumFil int Y2=1<<18;\ int U=1<<18;\ int V=1<<18;\ - type *r, *b, *g;\ + type attribute_unused *r, *b, *g;\ const int i2= 2*i;\ \ for(j=0; j>1)*srcStride[1];\ uint8_t *pv= src[2] + (y>>1)*srcStride[2];\ unsigned int h_size= c->dstW>>3;\ while (h_size--) {\ - int U, V, Y;\ + int attribute_unused U, V;\ + int Y;\ #define EPILOG(dst_delta)\ pu += 4;\ -- cgit v1.2.3