Permalink
Browse files

Bug 735589 - [PATCH] Remove not needed variable initialization in src…

…/classdef.cpp
  • Loading branch information...
Dimitri van Heesch
Dimitri van Heesch committed Aug 30, 2014
1 parent a4003db commit 5f01852bbfd3c81320ee4aa8cd45875a80b50ee1
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/classdef.cpp
View
@@ -1179,7 +1179,7 @@ int ClassDef::countInheritanceNodes()
void ClassDef::writeInheritanceGraph(OutputList &ol)
{
// count direct inheritance relations
int count=countInheritanceNodes();
const int count=countInheritanceNodes();
bool renderDiagram = FALSE;
if (Config_getBool("HAVE_DOT") &&
@@ -1216,7 +1216,7 @@ void ClassDef::writeInheritanceGraph(OutputList &ol)
ol.disableAllBut(OutputGenerator::Man);
}
if (m_impl->inherits && (count=m_impl->inherits->count())>0)
if (m_impl->inherits && m_impl->inherits->count()>0)
{
ol.startParagraph();
//parseText(ol,theTranslator->trInherits()+" ");
@@ -1281,7 +1281,7 @@ void ClassDef::writeInheritanceGraph(OutputList &ol)
}
// write subclasses
if (m_impl->inheritedBy && (count=m_impl->inheritedBy->count())>0)
if (m_impl->inheritedBy && m_impl->inheritedBy->count()>0)
{
ol.startParagraph();
QCString inheritLine = theTranslator->trInheritedByList(m_impl->inheritedBy->count());

0 comments on commit 5f01852

Please sign in to comment.