diff options
| author | Nils Wallménius <nils@rockbox.org> | 2011-05-01 16:53:20 +0000 |
|---|---|---|
| committer | Nils Wallménius <nils@rockbox.org> | 2011-05-01 16:53:20 +0000 |
| commit | 4a62bc40c2c91e20053824444aa4a162385a2601 (patch) | |
| tree | 8edc5a309feafc543886c53dc1a1ef092a1936b1 /apps/codecs | |
| parent | 27d153db930a231718a18ec5a886c8789077c83a (diff) | |
| download | rockbox-4a62bc40c2c91e20053824444aa4a162385a2601.zip rockbox-4a62bc40c2c91e20053824444aa4a162385a2601.tar.gz rockbox-4a62bc40c2c91e20053824444aa4a162385a2601.tar.bz2 rockbox-4a62bc40c2c91e20053824444aa4a162385a2601.tar.xz | |
Work around another 'set but not used' warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29811 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs')
| -rw-r--r-- | apps/codecs/lib/ffmpeg_get_bits.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/codecs/lib/ffmpeg_get_bits.h b/apps/codecs/lib/ffmpeg_get_bits.h index 8fce395..139d7ae 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;\ |