From 5f4d0ab29fda592f34306a1c4ffdf3d39771010c Mon Sep 17 00:00:00 2001 From: Jeremy Lainé Date: Fri, 15 Apr 2011 15:44:40 +0000 Subject: fix compiler warnings --- src/QXmppCodec.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/QXmppCodec.cpp') diff --git a/src/QXmppCodec.cpp b/src/QXmppCodec.cpp index 36901b6c..434a8526 100644 --- a/src/QXmppCodec.cpp +++ b/src/QXmppCodec.cpp @@ -445,6 +445,7 @@ QList QXmppTheoraDecoder::handlePacket(QDataStream &stream) stream >> theora_header; quint32 theora_ident = (theora_header >> 8) & 0xffffff; + Q_UNUSED(theora_ident); quint8 theora_frag = (theora_header & 0xc0) >> 6; quint8 theora_type = (theora_header & 0x30) >> 4; quint8 theora_packets = (theora_header & 0x0f); @@ -753,8 +754,6 @@ QList QXmppTheoraEncoder::handleFrame(const QXmppVideoFrame &frame) return packets; } - // raw data - quint8 theora_type = 0; QByteArray payload; ogg_packet packet; while (th_encode_packetout(d->ctx, 0, &packet) > 0) { -- cgit v1.2.3