aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/watchhandler.cpp
diff options
context:
space:
mode:
authorOrgad Shaneh <[email protected]>2012-10-29 23:35:56 +0200
committerhjk <[email protected]>2012-10-31 15:02:32 +0100
commitcaade07b8ce38cd94a5a3c428bd2121380045dc7 (patch)
tree73dabf86dca25e16604d3d3972f7a0ec4ffd8f16 /src/plugins/debugger/watchhandler.cpp
parentbebc351c3540070df30b50892ded0088f3fbe45f (diff)
Debugger: Fix warning
Diffstat (limited to 'src/plugins/debugger/watchhandler.cpp')
-rw-r--r--src/plugins/debugger/watchhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/debugger/watchhandler.cpp b/src/plugins/debugger/watchhandler.cpp
index d71ecc82be4..00a44735b77 100644
--- a/src/plugins/debugger/watchhandler.cpp
+++ b/src/plugins/debugger/watchhandler.cpp
@@ -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());