Resolve CID 1037075

This commit is contained in:
Dmitry-Me 2015-02-19 17:16:38 +03:00
parent 6227abac73
commit 158a2acc41
1 changed files with 2 additions and 2 deletions

View File

@ -1469,8 +1469,8 @@ bool Function::argsMatch(const Scope *scope, const Token *first, const Token *se
second = second->nextArgument();
if (second)
second = second->tokAt(-2);
if (!first || !second) { // End of argument list (first or second)
return !first && !second;
if (!second) { // End of argument list (second)
return false;
}
}