Debugger: Fix warning

Change-Id: Ifb44512a99d7a08eed9631b94075ca6c096a378b
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
Orgad Shaneh
2012-10-29 23:35:56 +02:00
committed by hjk
parent bebc351c35
commit caade07b8c

View File

@@ -1634,7 +1634,7 @@ void WatchHandler::showEditValue(const WatchData &data)
}
int width, height, format;
QByteArray ba;
uchar *bits;
uchar *bits = 0;
if (data.editformat == DisplayImageData) {
ba = QByteArray::fromHex(data.editvalue);
const int *header = (int *)(ba.data());