Negation not needed anymore.

This commit is contained in:
Dmitry-Me 2014-07-02 11:12:39 +04:00
parent 454dd0a736
commit b38e43ebae
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ void CheckAssert::assertWithSideEffects()
bool noReturnInScope = true;
for (std::vector<const Token*>::iterator rt = returnTokens.begin(); rt != returnTokens.end(); ++rt) {
if (!inSameScope(*rt, tok2)) {
if (inSameScope(*rt, tok2)) {
noReturnInScope = false;
break;
}