imdct: Remove dead store.
authorAndre Noll <maan@systemlinux.org>
Mon, 15 Aug 2011 17:36:46 +0000 (19:36 +0200)
committerAndre Noll <maan@systemlinux.org>
Wed, 21 Sep 2011 09:04:12 +0000 (11:04 +0200)
imdct.c:296:2: warning: Value stored to 'output' is never read
        output += n4;
        ^         ~~

imdct.c

diff --git a/imdct.c b/imdct.c
index 32928487b724653535d604adbf690e013a7eb516..aab498a390ba3ecdeded2452120d729540e84184 100644 (file)
--- a/imdct.c
+++ b/imdct.c
@@ -293,7 +293,6 @@ static void imdct_half(struct mdct_context *s, fftsample_t *output,
        fft(&s->fft, z);
 
        /* post rotation + reordering */
        fft(&s->fft, z);
 
        /* post rotation + reordering */
-       output += n4;
        for (k = 0; k < n8; k++) {
                fftsample_t r0, i0, r1, i1;
                CMUL(r0, i1, z[n8 - k - 1].im, z[n8 - k - 1].re,
        for (k = 0; k < n8; k++) {
                fftsample_t r0, i0, r1, i1;
                CMUL(r0, i1, z[n8 - k - 1].im, z[n8 - k - 1].re,