From 7e2910649a3bd2a585561045a2da9a15c4d7460f Mon Sep 17 00:00:00 2001 From: Dimitri van Heesch Date: Tue, 24 Sep 2013 20:27:38 +0200 Subject: Fixed compile warning --- src/classdef.cpp | 13 +++++-------- 1 file 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 visited(17); - writeInheritedMemberDeclarations(ol,lt,lt2,title, - inheritedFrom ? inheritedFrom : this, - invert,showAlways, - visitedClasses==0 ? &visited: visitedClasses); - } + QPtrDict visited(17); + writeInheritedMemberDeclarations(ol,lt,lt2,title, + inheritedFrom ? inheritedFrom : this, + invert,showAlways, + visitedClasses==0 ? &visited: visitedClasses); } } } -- cgit v0.12