diff options
author | Ganesh Ajjanagadde <gajjanagadde@gmail.com> | 2015-09-19 10:34:22 -0400 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-09-24 04:27:50 +0200 |
commit | 07cd8d5676a72d80661e9bfde0a26d83aca4d029 (patch) | |
tree | ae309c41f6796bfa334b6b3246064202d0ed7bdf /libavcodec/x86/cavsdsp.c | |
parent | f94af8d32ae3c2df19d3e0d27ac230e9bd742a91 (diff) | |
download | ffmpeg-07cd8d5676a72d80661e9bfde0a26d83aca4d029.tar.gz |
avcodec/x86/cavsdsp: silence -Wunused-variable on --disable-mmx
This silences -Wunused-variable when compiled with --disable-mmx, e.g
http://fate.ffmpeg.org/log.cgi?time=20150919094617&log=compile&slot=x86_64-archlinux-gcc-disable-mmx.
The alternative of header guards will make it far too ugly.
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/x86/cavsdsp.c')
-rw-r--r-- | libavcodec/x86/cavsdsp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/x86/cavsdsp.c b/libavcodec/x86/cavsdsp.c index b57116383e..4b20e655a7 100644 --- a/libavcodec/x86/cavsdsp.c +++ b/libavcodec/x86/cavsdsp.c @@ -563,7 +563,7 @@ static av_cold void cavsdsp_init_3dnow(CAVSDSPContext *c, av_cold void ff_cavsdsp_init_x86(CAVSDSPContext *c, AVCodecContext *avctx) { - int cpu_flags = av_get_cpu_flags(); + av_unused int cpu_flags = av_get_cpu_flags(); cavsdsp_init_mmx(c, avctx); #if HAVE_AMD3DNOW_INLINE |