Commit 7e291064 authored by Dimitri van Heesch's avatar Dimitri van Heesch

Fixed compile warning

parent 3b9f4d9c
......@@ -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);
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment