Skip to content

Commit

Permalink
do not count/print 'void' as a function argument.
Browse files Browse the repository at this point in the history
  • Loading branch information
christinaflach committed May 30, 2019
1 parent ea9c759 commit 3df142e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions addon/doxyparse/doxyparse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@ void functionInformation(MemberDef* md) {
Argument * argument = iterator.toFirst();
if(argument != NULL) {
temp = argumentData(argument);
// TODO: This is a workaround; better not include "void" in argList, in the first place.
if(temp != "void") {
printNumberOfArguments(argList->count());
}
Expand Down

0 comments on commit 3df142e

Please sign in to comment.