]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
mp3dec: Remove dead store.
authorAndre Noll <maan@systemlinux.org>
Tue, 15 May 2012 20:13:09 +0000 (22:13 +0200)
committerAndre Noll <maan@systemlinux.org>
Wed, 13 Jun 2012 11:25:49 +0000 (13:25 +0200)
mp3dec_filter.c:133:3: warning: Value stored to 'ret' is never read
                ret = mad_stream_sync(&pmd->stream);
                ^     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

mp3dec_filter.c

index 4bdbc6fd5dc84b6fd73e7678dd04affba1eb6c4b..6955a7423650f3b929b807b6184221d5b5773717 100644 (file)
@@ -130,7 +130,7 @@ decode:
                ret = handle_decode_error(pmd);
                if (ret < 0)
                        goto err;
-               ret = mad_stream_sync(&pmd->stream);
+               mad_stream_sync(&pmd->stream);
                if (pmd->stream.error == MAD_ERROR_BUFLEN) {
                        ret = -E_MP3DEC_EOF;
                        if (len == iqs && btr_no_parent(btrn))