diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2018-11-18 14:00:59 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2018-11-18 14:23:28 (GMT) |
commit | f0cc0f5da51faddd490c2cf358614b4ab70cc8ac (patch) | |
tree | d88c647365010677b4c4f6353e0e03e0daea6f33 /src/util.cpp | |
parent | 8ff99363c2f6b3226fe5b57f38ae1d4805dca22c (diff) | |
download | Doxygen-f0cc0f5da51faddd490c2cf358614b4ab70cc8ac.zip Doxygen-f0cc0f5da51faddd490c2cf358614b4ab70cc8ac.tar.gz Doxygen-f0cc0f5da51faddd490c2cf358614b4ab70cc8ac.tar.bz2 |
Minor restructuring
Diffstat (limited to 'src/util.cpp')
-rw-r--r-- | src/util.cpp | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/src/util.cpp b/src/util.cpp index 76691d1..819903c 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -8655,7 +8655,7 @@ bool namespaceHasVisibleChild(NamespaceDef *nd,bool includeClasses,bool filterCl } if (includeClasses) { - ClassSDict *d; + ClassSDict *d = nd->getClassSDict(); if (filterClasses) { if (ct == ClassDef::Interface) @@ -8670,14 +8670,6 @@ bool namespaceHasVisibleChild(NamespaceDef *nd,bool includeClasses,bool filterCl { d = nd->getExceptionSDict(); } - else - { - d = nd->getClassSDict(); - } - } - else - { - d = nd->getClassSDict(); } if (d) @@ -8686,8 +8678,8 @@ bool namespaceHasVisibleChild(NamespaceDef *nd,bool includeClasses,bool filterCl ClassDef *cd; for (;(cd=cli.current());++cli) { - if (cd->isLinkableInProject() && cd->templateMaster()==0) - { + if (cd->isLinkableInProject() && cd->templateMaster()==0) + { return TRUE; } } |