Debugger: Add missing breaks

Detected by GCC8.

Change-Id: I2bb6b20e5d2b8a930ef3e935e40a66a24cd1fd8e
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Orgad Shaneh
2018-04-04 22:53:19 +03:00
committed by Orgad Shaneh
parent 88ecdaaf00
commit 7a4499d889
2 changed files with 5 additions and 0 deletions

View File

@@ -292,6 +292,7 @@ QVariant ToolTipWatchItem::data(int column, int role) const
case 2:
return type;
}
break;
}
case LocalsINameRole:

View File

@@ -153,6 +153,7 @@ static void readNumericVector(std::vector<double> *v, const QByteArray &rawData,
readNumericVectorHelper<qint64>(v, rawData);
return;
}
break;
case DebuggerEncoding::HexEncodedUnsignedInteger:
switch (encoding.size) {
case 1:
@@ -168,6 +169,7 @@ static void readNumericVector(std::vector<double> *v, const QByteArray &rawData,
readNumericVectorHelper<quint64>(v, rawData);
return;
}
break;
case DebuggerEncoding::HexEncodedFloat:
switch (encoding.size) {
case 4:
@@ -996,6 +998,7 @@ QVariant WatchModel::data(const QModelIndex &idx, int role) const
case 2:
return item->type;
}
break;
}
case Qt::DisplayRole: {
@@ -1007,6 +1010,7 @@ QVariant WatchModel::data(const QModelIndex &idx, int role) const
case 2:
return displayType(item);
}
break;
}
case Qt::ToolTipRole: