astyle formatting

This commit is contained in:
Daniel Marjamäki 2015-05-27 20:26:26 +02:00
parent 152ea116fa
commit 0836bf3d33
1 changed files with 1 additions and 1 deletions

View File

@ -2221,7 +2221,7 @@ void CheckOther::checkDuplicateExpression()
if (assignment) if (assignment)
selfAssignmentError(tok, tok->astOperand1()->expressionString()); selfAssignmentError(tok, tok->astOperand1()->expressionString());
else { 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(); const Token* parent = tok->astParent();
while (parent && parent->astParent()) { while (parent && parent->astParent()) {
parent = parent->astParent(); parent = parent->astParent();