Skip to content

Commit b38e43e

Browse files
committed
Negation not needed anymore.
1 parent 454dd0a commit b38e43e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/checkassert.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ void CheckAssert::assertWithSideEffects()
8181

8282
bool noReturnInScope = true;
8383
for (std::vector<const Token*>::iterator rt = returnTokens.begin(); rt != returnTokens.end(); ++rt) {
84-
if (!inSameScope(*rt, tok2)) {
84+
if (inSameScope(*rt, tok2)) {
8585
noReturnInScope = false;
8686
break;
8787
}

0 commit comments

Comments
 (0)