diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/vhdldocgen.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/vhdldocgen.cpp b/src/vhdldocgen.cpp index ddb4c4f..ad95fd1 100644 --- a/src/vhdldocgen.cpp +++ b/src/vhdldocgen.cpp @@ -941,9 +941,8 @@ MemberDef* VhdlDocGen::findFunction(const QList<Argument> &ql, Argument *arg,*arg1; int equ=0; - for (;(arg=ali.current());++ali) + for (;(arg=ali.current()) && (arg1=ali1.current());++ali,++ali1) { - arg1=ali1.current(); ++ali1; equ+=abs(compareString(arg->type,arg1->type)); QCString s1=arg->type; |