Merge pull request #526 from Dmitry-Me/resolveCid1037075
Resolve CID 1037075
This commit is contained in:
commit
88b6e4a464
|
@ -1469,8 +1469,8 @@ bool Function::argsMatch(const Scope *scope, const Token *first, const Token *se
|
||||||
second = second->nextArgument();
|
second = second->nextArgument();
|
||||||
if (second)
|
if (second)
|
||||||
second = second->tokAt(-2);
|
second = second->tokAt(-2);
|
||||||
if (!first || !second) { // End of argument list (first or second)
|
if (!second) { // End of argument list (second)
|
||||||
return !first && !second;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue