summaryrefslogtreecommitdiffstats
path: root/src/classdef.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2013-09-24 18:27:38 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2013-09-24 19:01:24 (GMT)
commit7e2910649a3bd2a585561045a2da9a15c4d7460f (patch)
tree286d35c2a00a724dfbcd015611eea6c387558ad5 /src/classdef.cpp
parent3b9f4d9cee85686861070c68a53c9db369589a6e (diff)
downloadDoxygen-7e2910649a3bd2a585561045a2da9a15c4d7460f.zip
Doxygen-7e2910649a3bd2a585561045a2da9a15c4d7460f.tar.gz
Doxygen-7e2910649a3bd2a585561045a2da9a15c4d7460f.tar.bz2
Fixed compile warning
Diffstat (limited to 'src/classdef.cpp')
-rw-r--r--src/classdef.cpp13
1 files changed, 5 insertions, 8 deletions
diff --git a/src/classdef.cpp b/src/classdef.cpp
index 07a275c..52acec2 100644
--- a/src/classdef.cpp
+++ b/src/classdef.cpp
@@ -4338,14 +4338,11 @@ void ClassDef::writeMemberDeclarations(OutputList &ol,MemberListType lt,const QC
static bool inlineInheritedMembers = Config_getBool("INLINE_INHERITED_MEMB");
if (!inlineInheritedMembers) // show inherited members as separate lists
{
- if (lt!=-1)
- {
- QPtrDict<void> visited(17);
- writeInheritedMemberDeclarations(ol,lt,lt2,title,
- inheritedFrom ? inheritedFrom : this,
- invert,showAlways,
- visitedClasses==0 ? &visited: visitedClasses);
- }
+ QPtrDict<void> visited(17);
+ writeInheritedMemberDeclarations(ol,lt,lt2,title,
+ inheritedFrom ? inheritedFrom : this,
+ invert,showAlways,
+ visitedClasses==0 ? &visited: visitedClasses);
}
}
}