From ad0ebd8f1ad27b6376ac0912b5447ba2f570345c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sat, 25 Aug 2018 21:32:52 +0200 Subject: [PATCH] astyle formatting [ci skip] --- lib/checkother.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/checkother.cpp b/lib/checkother.cpp index 4e5e03e4f..5ae729f95 100644 --- a/lib/checkother.cpp +++ b/lib/checkother.cpp @@ -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"; }