From 8d06bd53f8daedd2928403abe3013225665e2d49 Mon Sep 17 00:00:00 2001 From: Mark Cox Date: Sat, 8 Mar 2008 17:18:28 +0000 Subject: [PATCH] Fix unused variable warnings. patch by mark cox, melbournemark+ffmpeg gmail.com Originally committed as revision 12370 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/faandct.c | 6 ++++-- libavcodec/faanidct.c | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/libavcodec/faandct.c b/libavcodec/faandct.c index 014c2d7514..d82c308400 100644 --- a/libavcodec/faandct.c +++ b/libavcodec/faandct.c @@ -77,7 +77,8 @@ static av_always_inline void row_fdct(FLOAT temp[64], DCTELEM * data) { FLOAT tmp0, tmp1, tmp2, tmp3, tmp4, tmp5, tmp6, tmp7; FLOAT tmp10, tmp11, tmp12, tmp13; - FLOAT z2, z4, z5, z11, z13; + FLOAT z2, z4, z11, z13; + FLOAT av_unused z5; int i; for (i=0; i<8*8; i+=8) { @@ -131,7 +132,8 @@ void ff_faandct(DCTELEM * data) { FLOAT tmp0, tmp1, tmp2, tmp3, tmp4, tmp5, tmp6, tmp7; FLOAT tmp10, tmp11, tmp12, tmp13; - FLOAT z2, z4, z5, z11, z13; + FLOAT z2, z4, z11, z13; + FLOAT av_unused z5; FLOAT temp[64]; int i; diff --git a/libavcodec/faanidct.c b/libavcodec/faanidct.c index add40349a6..dc3d8fbb81 100644 --- a/libavcodec/faanidct.c +++ b/libavcodec/faanidct.c @@ -48,7 +48,7 @@ B7*B0/8, B7*B1/8, B7*B2/8, B7*B3/8, B7*B4/8, B7*B5/8, B7*B6/8, B7*B7/8, static inline void p8idct(DCTELEM data[64], FLOAT temp[64], uint8_t *dest, int stride, int x, int y, int type){ int i; - FLOAT tmp0; + FLOAT av_unused tmp0; FLOAT s04, d04, s17, d17, s26, d26, s53, d53; FLOAT os07, os16, os25, os34; FLOAT od07, od16, od25, od34;