From 43150ce9fb56703bdae3e20c33eeaf07778e4d6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Wed, 31 Dec 2008 08:38:48 +0000 Subject: [PATCH] if checking : fixed bug in previous commit --- checkother.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/checkother.cpp b/checkother.cpp index 0a8fadc30..eebf1cd79 100644 --- a/checkother.cpp +++ b/checkother.cpp @@ -211,7 +211,7 @@ void CheckOther::WarningIf() for (const TOKEN *tok2 = tok->next(); tok2; tok2 = tok2->next()) { if (tok2->str() == "(") - ++parlevel++; + ++parlevel; else if (tok2->str() == ")") { --parlevel;