Debugger: Fix some code scanning issues.

This commit is contained in:
Friedemann Kleint
2010-02-03 17:22:44 +01:00
parent 236bb0371e
commit 74977e1290
4 changed files with 25 additions and 24 deletions

View File

@@ -3310,7 +3310,7 @@ void GdbEngine::handleChildren(const WatchData &data0, const GdbMi &item,
//qDebug() << "CHILD TEMPLATE:" << childtemplate.toString();
int i = 0;
foreach (GdbMi child, children.children()) {
foreach (const GdbMi &child, children.children()) {
WatchData data1 = childtemplate;
GdbMi name = child.findChild("name");
if (name.isValid())