Fix warnings for QtQuick1
Fix warnings for QtQuick1

qpacketprotocol.cpp:299:12: error: variable "writeBytes" set but not used [-Werror=unused-but-set-variable]

Change-Id: I04a33119b30669dda688591aee60dcb2b7bbd41b
Reviewed-by: Alan Alpert <da25f2afbbb946022229108d81aeba0c6b35c5c3@blackberry.com>

kobolabs/qtquick1,kobolabs/qtquick1,kobolabs/qtquick1,kobolabs/qtquick1,kobolabs/qtquick1,kobolabs/qtquick1