diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2014-08-30 17:40:33 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2014-08-30 17:40:33 (GMT) |
commit | 5f01852bbfd3c81320ee4aa8cd45875a80b50ee1 (patch) | |
tree | 3091ebf87530112784e469ae3ef2880fa98ab240 /src/classdef.cpp | |
parent | a4003db44dfb624c03b7e0a518e368d3e4b8c1ca (diff) | |
download | Doxygen-5f01852bbfd3c81320ee4aa8cd45875a80b50ee1.zip Doxygen-5f01852bbfd3c81320ee4aa8cd45875a80b50ee1.tar.gz Doxygen-5f01852bbfd3c81320ee4aa8cd45875a80b50ee1.tar.bz2 |
Bug 735589 - [PATCH] Remove not needed variable initialization in src/classdef.cpp
Diffstat (limited to 'src/classdef.cpp')
-rw-r--r-- | src/classdef.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/classdef.cpp b/src/classdef.cpp index c36a83f..4a48de1 100644 --- a/src/classdef.cpp +++ b/src/classdef.cpp @@ -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()); |