fixed testcase

This commit is contained in:
Daniel Marjamäki 2009-03-24 20:28:44 +01:00
parent c0039a2551
commit 586037ed11
1 changed files with 1 additions and 1 deletions

View File

@ -564,7 +564,7 @@ void CheckOther::CheckVariableScope_LookupVar(const Token *tok1, const char varn
{
if (for_or_while && used)
return;
used1 = used;
used1 |= used;
used = false;
}
}