diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2020-04-09 18:59:23 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2020-04-09 18:59:23 (GMT) |
commit | bc83eb68e2fd31faa4b1ca7bb6610b30c0a24659 (patch) | |
tree | 183fb375621cff88a1b15e2afadaf52e99f859fe /src/util.cpp | |
parent | 7464fdd7d4a3efd97dbc24c171556d7683648c8d (diff) | |
download | Doxygen-bc83eb68e2fd31faa4b1ca7bb6610b30c0a24659.zip Doxygen-bc83eb68e2fd31faa4b1ca7bb6610b30c0a24659.tar.gz Doxygen-bc83eb68e2fd31faa4b1ca7bb6610b30c0a24659.tar.bz2 |
Fixed shadowing issue in getFortranDefs and other shadowing cases
Diffstat (limited to 'src/util.cpp')
-rw-r--r-- | src/util.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/util.cpp b/src/util.cpp index 7fc98a7..4de28cf 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -3865,18 +3865,18 @@ bool getDefs(const QCString &scName, //for (mni.toLast();(md=mni.current());--mni) for (auto it = mn->rbegin(); it!=mn->rend(); ++it) { - const auto &md = *it; - //printf("Found member '%s'\n",md->name().data()); - //printf("member is linkable md->name()='%s'\n",md->name().data()); - fd=md->getFileDef(); - gd=md->getGroupDef(); - const MemberDef *tmd = md->getEnumScope(); + const auto &mmd = *it; + //printf("Found member '%s'\n",mmd->name().data()); + //printf("member is linkable mmd->name()='%s'\n",mmd->name().data()); + fd=mmd->getFileDef(); + gd=mmd->getGroupDef(); + const MemberDef *tmd = mmd->getEnumScope(); if ( (gd && gd->isLinkable()) || (fd && fd->isLinkable()) || (tmd && tmd->isStrong()) ) { - members.append(md.get()); + members.append(mmd.get()); } } } |