diff --git a/lib/library.cpp b/lib/library.cpp index 736687a4e..87706dd57 100644 --- a/lib/library.cpp +++ b/lib/library.cpp @@ -324,4 +324,5 @@ const Library::ArgumentChecks * Library::getarg(const std::string &functionName, const std::map::const_iterator it3 = it1->second.find(-1); if (it3 != it1->second.end()) return &it3->second; + return nullptr; }