From 1dcd6b84bdc2a77547ea75363fe821381cdc39f6 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Mon, 17 Mar 2014 20:21:07 +0100 Subject: Remove unused variables --- src/DabMux.cpp | 11 ----------- src/dabInputDabplusFifo.cpp | 2 -- src/dabInputZmq.cpp | 2 -- 3 files changed, 15 deletions(-) diff --git a/src/DabMux.cpp b/src/DabMux.cpp index 714aeff..f015927 100644 --- a/src/DabMux.cpp +++ b/src/DabMux.cpp @@ -132,15 +132,6 @@ static unsigned char Padding_FIB[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; -/****************************************************************************** - ************* Tables pour l'identification des fichiers mp2 **************** - *****************************************************************************/ -const unsigned short Bit_Rate_SpecifiedTable[16] = { - 0, 32, 48, 56, 64, 80, 96, 112, - 128, 160, 192, 224, 256, 320, 384, 0 -}; - - const unsigned char ProtectionLevelTable[64] = { 4, 3, 2, 1, 0, 4, 3, 2, @@ -315,8 +306,6 @@ int main(int argc, char *argv[]) int statsserverport = 0; - unsigned long time_seconds = 0; - struct timeval mnsc_time; /* TODO: diff --git a/src/dabInputDabplusFifo.cpp b/src/dabInputDabplusFifo.cpp index 50749c3..d1369c5 100644 --- a/src/dabInputDabplusFifo.cpp +++ b/src/dabInputDabplusFifo.cpp @@ -151,8 +151,6 @@ int dabInputDabplusFifoUnlock(void* args) int dabInputDabplusFifoReadFrame(dabInputOperations* ops, void* args, void* buffer, int size) { - dabInputDabplusFifoData* data = (dabInputDabplusFifoData*)args; - return ops->read(args, buffer, size); } diff --git a/src/dabInputZmq.cpp b/src/dabInputZmq.cpp index de0a4fe..95446d1 100644 --- a/src/dabInputZmq.cpp +++ b/src/dabInputZmq.cpp @@ -198,7 +198,6 @@ int DabInputZmqBase::readFrame(void* buffer, int size) // Read a MPEG frame from the socket, and push to list int DabInputZmqMPEG::readFromSocket(int framesize) { - int rc; bool messageReceived; zmq::message_t msg; @@ -252,7 +251,6 @@ int DabInputZmqMPEG::readFromSocket(int framesize) // and push to list int DabInputZmqAAC::readFromSocket(int framesize) { - int rc; bool messageReceived; zmq::message_t msg; -- cgit v1.2.3