This commit is contained in:
Alexander Mai 2015-05-27 21:13:18 +02:00
commit 94d376e228
1 changed files with 1 additions and 1 deletions

View File

@ -2221,7 +2221,7 @@ void CheckOther::checkDuplicateExpression()
if (assignment)
selfAssignmentError(tok, tok->astOperand1()->expressionString());
else {
if (_tokenizer->isCPP() && _settings->standards.cpp==Standards::CPP11 && tok->str() == "==") {
if (_tokenizer->isCPP() && _settings->standards.cpp==Standards::CPP11 && tok->str() == "==") {
const Token* parent = tok->astParent();
while (parent && parent->astParent()) {
parent = parent->astParent();