Library: Fixed bug I caused when I cleaned up patch

This commit is contained in:
Daniel Marjamäki 2014-03-06 06:27:01 +01:00
parent 1d4839b8a6
commit ca0509e20b
1 changed files with 1 additions and 0 deletions

View File

@ -324,4 +324,5 @@ const Library::ArgumentChecks * Library::getarg(const std::string &functionName,
const std::map<int,ArgumentChecks>::const_iterator it3 = it1->second.find(-1); const std::map<int,ArgumentChecks>::const_iterator it3 = it1->second.find(-1);
if (it3 != it1->second.end()) if (it3 != it1->second.end())
return &it3->second; return &it3->second;
return nullptr;
} }