Unify check with surrounding code

This commit is contained in:
Dmitry-Me 2017-12-20 01:37:19 +03:00
parent b538db60df
commit 6ae32ed98c
1 changed files with 1 additions and 1 deletions

View File

@ -379,7 +379,7 @@ void Tokenizer::unsupportedTypedef(const Token *tok) const
else if (tok->str() == "{")
++level;
else if (tok->str() == "}") {
if (!level)
if (level == 0)
break;
--level;
}