From: Andreas Oberritter Date: Wed, 26 Mar 2008 00:02:58 +0000 (+0000) Subject: removed unused variables 'cnt' and 'protection_bit' X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=commitdiff_plain;h=9ce40a1d4321284356a065f02bed2f1da110ab81;hp=f7bc48ee3a738ec6edb3e7eedec753b106f945f9 removed unused variables 'cnt' and 'protection_bit' --- diff --git a/lib/dvb/radiotext.cpp b/lib/dvb/radiotext.cpp index d4cc235..1a8ffd5 100644 --- a/lib/dvb/radiotext.cpp +++ b/lib/dvb/radiotext.cpp @@ -139,7 +139,6 @@ void eDVBRdsDecoder::removeFromPictureMask(int id) void eDVBRdsDecoder::processPESPacket(__u8 *data, int len) { int pos=9+data[8];// skip pes header - int cnt=0; while (pos < len) { @@ -151,7 +150,7 @@ void eDVBRdsDecoder::processPESPacket(__u8 *data, int len) int channel = mode == 3 ? 1 : 2; int id = (data[pos + 1] >> 3) & 1; int emphasis_bit = data[pos + 3] & 3; - int protection_bit = data[pos + 1] & 1; + //int protection_bit = data[pos + 1] & 1; int rate = -1; int sample_freq = -1; int layer = -1;