Bug hunting; Fix itc.py test
This commit is contained in:
parent
2713474f56
commit
58638d7757
|
@ -295,10 +295,10 @@ static void uninit(const Token *tok, const ExprEngine::Value &value, ExprEngine:
|
|||
// Are there unconditional assignment?
|
||||
if (var && Token::Match(var->nameToken(), "%varid% ;| %varid%| =", tok->varId()))
|
||||
return;
|
||||
}
|
||||
|
||||
if (tok->variable() && isVariableAssigned(tok->variable(), tok))
|
||||
return;
|
||||
}
|
||||
|
||||
// Uninitialized function argument
|
||||
bool inconclusive = false;
|
||||
|
|
Loading…
Reference in New Issue