From 4a62bc40c2c91e20053824444aa4a162385a2601 Mon Sep 17 00:00:00 2001 From: Nils Wallménius Date: Sun, 1 May 2011 16:53:20 +0000 Subject: Work around another 'set but not used' warning. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29811 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/lib/ffmpeg_get_bits.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'apps/codecs/lib/ffmpeg_get_bits.h') diff --git a/apps/codecs/lib/ffmpeg_get_bits.h b/apps/codecs/lib/ffmpeg_get_bits.h index 8fce395a4d..139d7ae556 100644 --- a/apps/codecs/lib/ffmpeg_get_bits.h +++ b/apps/codecs/lib/ffmpeg_get_bits.h @@ -178,9 +178,11 @@ for examples see get_bits, show_bits, skip_bits, get_vlc #ifdef ALT_BITSTREAM_READER # define MIN_CACHE_BITS 25 + +/* ROCKBOX: work around "set but not used" warning */ # define OPEN_READER(name, gb)\ unsigned int name##_index= (gb)->index;\ - int name##_cache= 0;\ + int name##_cache __attribute__((unused)) = 0;\ # define CLOSE_READER(name, gb)\ (gb)->index= name##_index;\ -- cgit v1.2.3