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