forked from len0rd/rockbox
Work around another 'set but not used' warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29811 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
27d153db93
commit
4a62bc40c2
1 changed files with 3 additions and 1 deletions
|
@ -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;\
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue