astyle formatting

[ci skip]
This commit is contained in:
Daniel Marjamäki 2018-08-25 21:32:52 +02:00
parent c65d79c0ec
commit ad0ebd8f1a
1 changed files with 2 additions and 2 deletions

View File

@ -2061,9 +2061,9 @@ void CheckOther::duplicateExpressionError(const Token *tok1, const Token *tok2,
std::string msg = "Same expression on both sides of \'" + op + "\'";
if (expr1 != expr2) {
std::string exprMsg = "The expression \'" + expr1 + " " + op + " " + expr2 + "\' is always ";
if(Token::Match(opTok, "==|>=|<="))
if (Token::Match(opTok, "==|>=|<="))
msg = exprMsg + "true";
else if(Token::Match(opTok, "!=|>|<"))
else if (Token::Match(opTok, "!=|>|<"))
msg = exprMsg + "false";
msg += " because '" + expr1 + "' and '" + expr2 + "' represent the same value";
}