[FFmpeg-cvslog] bitstream_reader: Try to fix "get_bits.h:305:45: warning: variable ‘re_cache =?UTF-8?Q?=E2=80=99=20set=20but=20not=20used=20?=[-Wunused-but-set-variable ]"
Michael Niedermayer
git at videolan.org
Wed May 4 21:51:03 CEST 2011
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed May 4 21:31:07 2011 +0200| [105a3c7a6be5c381c1d5247692ecc09d23606260] | committer: Michael Niedermayer
bitstream_reader: Try to fix "get_bits.h:305:45: warning: variable ‘re_cache’ set but not used [-Wunused-but-set-variable]"
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=105a3c7a6be5c381c1d5247692ecc09d23606260
---
libavcodec/get_bits.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavcodec/get_bits.h b/libavcodec/get_bits.h
index 645946d..2f1a851 100644
--- a/libavcodec/get_bits.h
+++ b/libavcodec/get_bits.h
@@ -127,7 +127,7 @@ for examples see get_bits, show_bits, skip_bits, get_vlc
# define OPEN_READER(name, gb) \
unsigned int name##_index = (gb)->index; \
- int name##_cache
+ av_unused int name##_cache
# define CLOSE_READER(name, gb) (gb)->index = name##_index
More information about the ffmpeg-cvslog
mailing list