valueFlowLibraryFunction: fix crash found with daca@home
This commit is contained in:
parent
3f55707b30
commit
bdd4623124
|
@ -3771,6 +3771,8 @@ static void valueFlowLibraryFunction(Token *tok, const std::string &returnValue,
|
||||||
if (argValues.back().empty())
|
if (argValues.back().empty())
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (returnValue.find("arg") != std::string::npos && argValues.empty())
|
||||||
|
return;
|
||||||
|
|
||||||
TokenList tokenList(settings);
|
TokenList tokenList(settings);
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue