OSDN Git Service

sbc: Remove unused variable
authorJohan Hedberg <johan.hedberg@intel.com>
Sat, 14 May 2011 22:56:11 +0000 (01:56 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 30 Jul 2012 02:48:29 +0000 (19:48 -0700)
sbc/sbcinfo.c

index 6d92679..8cfb54a 100644 (file)
@@ -174,7 +174,7 @@ static int analyze_file(char *filename)
        unsigned char buf[64];
        double rate;
        int bitpool[SIZE], frame_len[SIZE];
-       int subbands, blocks, freq, mode, method;
+       int subbands, blocks, freq, method;
        int n, p1, p2, fd, size, num;
        ssize_t len;
        unsigned int count;
@@ -199,7 +199,6 @@ static int analyze_file(char *filename)
        subbands = (hdr.subbands + 1) * 4;
        blocks = (hdr.blocks + 1) * 4;
        freq = hdr.sampling_frequency;
-       mode = hdr.channel_mode;
        method = hdr.allocation_method;
 
        count = calc_frame_len(&hdr);