Debugger: Remove shadow variable

Change-Id: Ia2e8ad88429a682f8569070eb8c12544f929d2a2
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Orgad Shaneh
2016-12-07 10:47:30 +02:00
committed by Orgad Shaneh
parent f1a05dfb35
commit ad04908a52

View File

@@ -734,10 +734,8 @@ static QString formattedValue(const WatchItem *item)
if (!isPointerType(item->type) && !item->isVTablePointer()) {
bool ok = false;
qulonglong integer = item->value.toULongLong(&ok, 0);
if (ok) {
const int format = itemFormat(item);
if (ok)
return reformatInteger(integer, format, item->size, false);
}
}
if (item->elided) {