diff --git a/src/plugins/debugger/watchhandler.cpp b/src/plugins/debugger/watchhandler.cpp index 219bb8b2c06..e56a295897f 100644 --- a/src/plugins/debugger/watchhandler.cpp +++ b/src/plugins/debugger/watchhandler.cpp @@ -1688,7 +1688,7 @@ void WatchHandler::showEditValue(const WatchData &data) showSeparateWidget(l); m_model->m_editHandlers[key] = l; } - int width, height, format; + int width = 0, height = 0, format = 0; QByteArray ba; uchar *bits = 0; if (data.editformat == DisplayImageData) {