Negation not needed anymore.
This commit is contained in:
parent
454dd0a736
commit
b38e43ebae
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue