astyle formatting

[ci skip]
This commit is contained in:
Daniel Marjamäki 2014-04-27 10:20:21 +02:00
parent 0b8dcbb441
commit 7317785e32
2 changed files with 3 additions and 3 deletions

View File

@ -2914,7 +2914,7 @@ void CheckOther::checkSuspiciousStringCompare()
if (varTok->strAt(-1) == "+" || litTok->strAt(1) == "+") if (varTok->strAt(-1) == "+" || litTok->strAt(1) == "+")
continue; continue;
// rough filter for index access (#5734). Might cause false negatives in multidimensional structures // rough filter for index access (#5734). Might cause false negatives in multidimensional structures
if (Token::simpleMatch(varTok->tokAt(1), "[") || Token::simpleMatch(litTok->tokAt(1), "[")) if (Token::simpleMatch(varTok->tokAt(1), "[") || Token::simpleMatch(litTok->tokAt(1), "["))
continue; continue;

View File

@ -2136,7 +2136,7 @@ private:
"}", true); "}", true);
ASSERT_EQUALS("", errout.str()); ASSERT_EQUALS("", errout.str());
#else #else
return; return;
#endif #endif
} }