Fix some warnings from clang
authorLars Knoll <lars.knoll@nokia.com>
Wed, 1 Feb 2012 16:04:19 +0000 (17:04 +0100)
committerQt by Nokia <qt-info@nokia.com>
Thu, 2 Feb 2012 00:56:03 +0000 (01:56 +0100)
commitbd8ef8d073201504a983249c4006c827befacf09
treee096d27c74b4183996026d57ad93b4fca4afa43b
parent15f253a46aa45e2a9fa1055799fa2768ba49b9a3
Fix some warnings from clang

One of them was a real error, that could
lead to Data::alloc containing wrong values.

Change-Id: I48315ef6fd59188630107ebbe7bf8dbaa5da689e
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
src/corelib/json/qjson.cpp
src/corelib/json/qjsonarray.cpp
src/corelib/json/qjsonwriter.cpp