Skip to content

Commit

Permalink
issue #9276 File-Line is omitted when suggesting possible candidates …
Browse files Browse the repository at this point in the history
…depending on noMatchCount

There is no reason why to make the File-Line depending on the `noMatchCount`.
  • Loading branch information
albert-github committed Apr 14, 2022
1 parent 0f78367 commit fc978eb
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/doxygen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6036,13 +6036,7 @@ static void addMemberFunction(const Entry *root,
if (!qScope.isEmpty())
warnMsg+=qScope+"::"+md->name();
warnMsg+=md->argsString();
if (noMatchCount>1)
{
warnMsg+="' " + warn_line(md->getDefFileName(),md->getDefLine());
}
else
warnMsg += "'";

warnMsg+="' " + warn_line(md->getDefFileName(),md->getDefLine());
warnMsg+='\n';
}
}
Expand Down

0 comments on commit fc978eb

Please sign in to comment.