Skip to content

Commit

Permalink
Silence unused variable warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-kristjansson committed Nov 28, 2012
1 parent 37f5b19 commit 33d80a9
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions mythtv/libs/libmythtv/cc608decoder.cpp
Expand Up @@ -1265,16 +1265,15 @@ void CC608Decoder::XDSPacketParse(const vector<unsigned char> &xds_buf)
; // reserved
else if (xds_class == 0x0d) // cont code: 0x0e
handled = true; // undefined
#if DEBUG_XDS
if (!handled)

if (DEBUG_XDS && !handled)
{
LOG(VB_VBI, LOG_INFO, QString("XDS: ") +
QString("Unhandled packet (0x%1 0x%2) sz(%3) '%4'")
.arg(xds_buf[0],0,16).arg(xds_buf[1],0,16)
.arg(xds_buf.size())
.arg(XDSDecodeString(xds_buf, 2, xds_buf.size() - 2)));
QString("Unhandled packet (0x%1 0x%2) sz(%3) '%4'")
.arg(xds_buf[0],0,16).arg(xds_buf[1],0,16)
.arg(xds_buf.size())
.arg(XDSDecodeString(xds_buf, 2, xds_buf.size() - 2)));
}
#endif // DEBUG_XDS
}

bool CC608Decoder::XDSPacketCRC(const vector<unsigned char> &xds_buf)
Expand Down

0 comments on commit 33d80a9

Please sign in to comment.