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/index.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/index.cpp')
-rw-r--r-- | src/index.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/index.cpp b/src/index.cpp index 7890898..fd61a45 100644 --- a/src/index.cpp +++ b/src/index.cpp @@ -760,7 +760,7 @@ static void writeDirHierarchy(OutputList &ol, FTVHelp* ftv,bool addToIndex) ol.pushGeneratorState(); ol.disable(OutputGenerator::Html); } - static bool fullPathNames = Config_getBool(FULL_PATH_NAMES); + bool fullPathNames = Config_getBool(FULL_PATH_NAMES); startIndexHierarchy(ol,0); if (fullPathNames) { @@ -780,11 +780,10 @@ static void writeDirHierarchy(OutputList &ol, FTVHelp* ftv,bool addToIndex) { for (const auto &fd : *fn) { - static bool fullPathNames = Config_getBool(FULL_PATH_NAMES); if (!fullPathNames || fd->getDirDef()==0) // top level file { - bool doc,src; - doc = fileVisibleInIndex(fd.get(),src); + bool src; + bool doc = fileVisibleInIndex(fd.get(),src); QCString reference, outputBase; if (doc) { @@ -2021,8 +2020,8 @@ class AlphaIndexTableRows : public QList<AlphaIndexTableCell> class AlphaIndexTableRowsIterator : public QListIterator<AlphaIndexTableCell> { public: - AlphaIndexTableRowsIterator(const AlphaIndexTableRows &list) : - QListIterator<AlphaIndexTableCell>(list) {} + AlphaIndexTableRowsIterator(const AlphaIndexTableRows &list_) : + QListIterator<AlphaIndexTableCell>(list_) {} }; /** Class representing the columns in the alphabetical class index. */ |