fixed testcase
This commit is contained in:
parent
c0039a2551
commit
586037ed11
|
@ -564,7 +564,7 @@ void CheckOther::CheckVariableScope_LookupVar(const Token *tok1, const char varn
|
||||||
{
|
{
|
||||||
if (for_or_while && used)
|
if (for_or_while && used)
|
||||||
return;
|
return;
|
||||||
used1 = used;
|
used1 |= used;
|
||||||
used = false;
|
used = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue