changeset 3055:eb7348ab56d2

Remove boolean has_xing, we only assigned it but never read it. Code analysis, unique ID CB4bbZ.
author Tony Vroon <chainsaw@gentoo.org>
date Sat, 18 Apr 2009 21:54:18 +0100
parents 919ec26c66c3
children 03f247c0d31d
files src/madplug/decoder.c
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/madplug/decoder.c	Sat Apr 18 21:38:16 2009 +0100
+++ b/src/madplug/decoder.c	Sat Apr 18 21:54:18 2009 +0100
@@ -85,7 +85,6 @@
     int tagsize = 0;
     unsigned char buffer[BUFFER_SIZE];
     struct mad_frame frame;     /* to read xing data */
-    gboolean has_xing = FALSE;
     guint bitrate_frames = 0;
     double xing_bitrate = 0.0;
     double accum_bitrate = 0.0;
@@ -189,7 +188,6 @@
                     }
                     if (xing_parse(&info->xing, stream.anc_ptr, stream.anc_bitlen) == 0) {
                         AUDDBG("xing header found\n");
-                        has_xing = TRUE;
                         info->vbr = TRUE;   /* otherwise xing header would have been 'Info' */
 
                         AUDDBG("xing: bytes = %ld frames = %ld\n", info->xing.bytes, info->xing.frames);