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?
|
// Are there unconditional assignment?
|
||||||
if (var && Token::Match(var->nameToken(), "%varid% ;| %varid%| =", tok->varId()))
|
if (var && Token::Match(var->nameToken(), "%varid% ;| %varid%| =", tok->varId()))
|
||||||
return;
|
return;
|
||||||
}
|
|
||||||
|
|
||||||
if (tok->variable() && isVariableAssigned(tok->variable(), tok))
|
if (tok->variable() && isVariableAssigned(tok->variable(), tok))
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Uninitialized function argument
|
// Uninitialized function argument
|
||||||
bool inconclusive = false;
|
bool inconclusive = false;
|
||||||
|
|
Loading…
Reference in New Issue