Unify check with surrounding code
This commit is contained in:
parent
b538db60df
commit
6ae32ed98c
|
@ -379,7 +379,7 @@ void Tokenizer::unsupportedTypedef(const Token *tok) const
|
||||||
else if (tok->str() == "{")
|
else if (tok->str() == "{")
|
||||||
++level;
|
++level;
|
||||||
else if (tok->str() == "}") {
|
else if (tok->str() == "}") {
|
||||||
if (!level)
|
if (level == 0)
|
||||||
break;
|
break;
|
||||||
--level;
|
--level;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue