diff options
author | Sergio Ahumada <sergio.ahumada@digia.com> | 2013-09-13 16:42:55 +0200 |
---|---|---|
committer | Sergio Ahumada <sergio.ahumada@digia.com> | 2013-09-13 16:42:55 +0200 |
commit | a30cacff3885484c9d9a53a4dcebf4d79f4063d3 (patch) | |
tree | f8d273b856716c06de200e0f4a3b9fb9b19171ba /tools | |
parent | 9c82c105a1886473ca144b802ce9f5bec01e35e8 (diff) | |
parent | b01b2474bb4c901a60a528c66f8b0ae8dd14e975 (diff) |
Merge remote-tracking branch 'origin/stable' into dev
Change-Id: I6fc67bf30a901f8078a5b99a9e290190b3f64b81
Diffstat (limited to 'tools')
-rw-r--r-- | tools/qmlprofiler/qpacketprotocol.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/qmlprofiler/qpacketprotocol.cpp b/tools/qmlprofiler/qpacketprotocol.cpp index b0cb289c10..e0fe08740d 100644 --- a/tools/qmlprofiler/qpacketprotocol.cpp +++ b/tools/qmlprofiler/qpacketprotocol.cpp @@ -288,6 +288,7 @@ void QPacketProtocol::send(const QPacket & p) d->sendingPackets.append(sendSize); qint32 sendSize32 = sendSize; qint64 writeBytes = d->dev->write((char *)&sendSize32, sizeof(qint32)); + Q_UNUSED(writeBytes); Q_ASSERT(writeBytes == sizeof(qint32)); writeBytes = d->dev->write(p.b); Q_ASSERT(writeBytes == p.b.size()); |