From b38e43ebaeea25384a468ab53ed0dadc9597af7e Mon Sep 17 00:00:00 2001 From: Dmitry-Me Date: Wed, 2 Jul 2014 11:12:39 +0400 Subject: [PATCH] Negation not needed anymore. --- lib/checkassert.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/checkassert.cpp b/lib/checkassert.cpp index 25d4a94bf..45beda62b 100644 --- a/lib/checkassert.cpp +++ b/lib/checkassert.cpp @@ -81,7 +81,7 @@ void CheckAssert::assertWithSideEffects() bool noReturnInScope = true; for (std::vector::iterator rt = returnTokens.begin(); rt != returnTokens.end(); ++rt) { - if (!inSameScope(*rt, tok2)) { + if (inSameScope(*rt, tok2)) { noReturnInScope = false; break; }