ExprEngine: Try to handle function with unknown type better
This commit is contained in:
parent
b27fabaacb
commit
999ef06156
|
@ -1482,9 +1482,6 @@ static ExprEngine::ValuePtr executeFunctionCall(const Token *tok, Data &data)
|
|||
}
|
||||
}
|
||||
|
||||
if (!tok->valueType() && tok->astParent())
|
||||
throw VerifyException(tok, "Expression '" + tok->expressionString() + "' has unknown type!");
|
||||
|
||||
if (tok->astOperand1()->function()) {
|
||||
const std::string &functionName = tok->astOperand1()->function()->fullName();
|
||||
const auto contractIt = data.settings->functionContracts.find(functionName);
|
||||
|
|
Loading…
Reference in New Issue