Merge pull request #526 from Dmitry-Me/resolveCid1037075

Resolve CID 1037075
This commit is contained in:
amai2012 2015-02-19 18:15:10 +01:00
commit 88b6e4a464
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;
}
}