forked from qt-creator/qt-creator
C++: fix invalid nesting of if statement.
Reported as a dead store by the clang static analyzer. Change-Id: Id5eb72ea4698a17486b8a05d88ee66f3fd89bcfc Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
This commit is contained in:
@@ -598,11 +598,11 @@ bool ResolveExpression::visit(UnaryExpressionAST *ast)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!added)
|
||||
it.remove();
|
||||
}
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user