summaryrefslogtreecommitdiff
path: root/apps/codecs/libwmapro/wmaprodec.c
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2011-05-01 14:44:20 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2011-05-01 14:44:20 +0000
commit27d153db930a231718a18ec5a886c8789077c83a (patch)
tree9d29fd6c1348f3ca1742774cb242177b3d0ca82b /apps/codecs/libwmapro/wmaprodec.c
parentf7c45941344ecfbcdd5d9b311b61573d37c6ef58 (diff)
Fix nearly all residual 'variable set but not used' warnings reported from GCC 4.6.0.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29810 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libwmapro/wmaprodec.c')
-rw-r--r--apps/codecs/libwmapro/wmaprodec.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/apps/codecs/libwmapro/wmaprodec.c b/apps/codecs/libwmapro/wmaprodec.c
index 018ea7c304..c72bd0f10f 100644
--- a/apps/codecs/libwmapro/wmaprodec.c
+++ b/apps/codecs/libwmapro/wmaprodec.c
@@ -1382,20 +1382,16 @@ static int decode_frame(WMAProDecodeCtx *s)
/** no idea what these are for, might be the number of samples
that need to be skipped at the beginning or end of a stream */
if (get_bits1(gb)) {
- int skip;
-
/** usually true for the first frame */
if (get_bits1(gb)) {
- skip = get_bits(gb, av_log2(s->samples_per_frame * 2));
- DEBUGF("start skip: %i\n", skip);
+ get_bits(gb, av_log2(s->samples_per_frame * 2));
+ DEBUGF("start skip\n");
}
-
/** sometimes true for the last frame */
if (get_bits1(gb)) {
- skip = get_bits(gb, av_log2(s->samples_per_frame * 2));
- DEBUGF("end skip: %i\n", skip);
+ get_bits(gb, av_log2(s->samples_per_frame * 2));
+ DEBUGF("end skip\n");
}
-
}
DEBUGF("BITSTREAM: frame header length was %i\n",