if checking : fixed bug in previous commit

This commit is contained in:
Daniel Marjamäki 2008-12-31 08:38:48 +00:00
parent da1b84b199
commit 43150ce9fb
1 changed files with 1 additions and 1 deletions

View File

@ -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;