Bug hunting; Improved uninitData warning when unknown function is not configured

This commit is contained in:
Daniel Marjamäki 2020-06-27 14:29:29 +02:00
parent e19ef6ac62
commit 303cadf99f
1 changed files with 3 additions and 0 deletions

View File

@ -250,6 +250,9 @@ static void uninit(const Token *tok, const ExprEngine::Value &value, ExprEngine:
return;
if (uninitData && argvar && !argvar->isConst())
return;
} else if (uninitData) {
if (dataBase->settings->library.getFunction(parent->astOperand1()))
return;
}
} else if (uninitData)
return;