diff options
Diffstat (limited to 'src/util.cpp')
-rw-r--r-- | src/util.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.cpp b/src/util.cpp index 1de3349..79a7d04 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -3236,7 +3236,7 @@ bool matchArguments(ArgumentList *srcAl,ArgumentList *dstAl, // all arguments. ArgumentListIterator srcAli(*srcAl),dstAli(*dstAl); Argument *srcA,*dstA; - for (;(srcA=srcAli.current(),dstA=dstAli.current());++srcAli,++dstAli) + for (;(srcA=srcAli.current()) && (dstA=dstAli.current());++srcAli,++dstAli) { if (!matchArgument(srcA,dstA,className,namespaceName, usingNamespaces,usingClasses)) |