uninitialized variables: handling loop bodies. end upon '}'
This commit is contained in:
parent
6601de7681
commit
40aeb17738
|
@ -3651,7 +3651,7 @@ private:
|
|||
{
|
||||
while (tok)
|
||||
{
|
||||
if (tok->str() == "{")
|
||||
if (tok->str() == "{" || tok->str() == "}")
|
||||
return;
|
||||
const Token *next = parse(*tok, checks);
|
||||
if (next)
|
||||
|
|
Loading…
Reference in New Issue