summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2014-08-30 18:04:34 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2014-08-30 18:04:34 (GMT)
commit88832b15f1256846b1228ac411d270c6d092a50b (patch)
treed79a06544cfd73820d8a16b7b119bf548274ef54
parent5f01852bbfd3c81320ee4aa8cd45875a80b50ee1 (diff)
downloadDoxygen-88832b15f1256846b1228ac411d270c6d092a50b.zip
Doxygen-88832b15f1256846b1228ac411d270c6d092a50b.tar.gz
Doxygen-88832b15f1256846b1228ac411d270c6d092a50b.tar.bz2
Bug 735590 - [PATCH] Remove not needed pointer initialization in src/entry.cpp
-rw-r--r--src/entry.cpp16
1 files changed, 1 insertions, 15 deletions
diff --git a/src/entry.cpp b/src/entry.cpp
index ee3d0ae..9f863d2 100644
--- a/src/entry.cpp
+++ b/src/entry.cpp
@@ -301,21 +301,7 @@ void Entry::createSubtreeIndex(EntryNav *nav,FileStorage *storage,FileDef *fd)
void Entry::createNavigationIndex(EntryNav *rootNav,FileStorage *storage,FileDef *fd)
{
- //printf("createNavigationIndex(%p) sublist=%p\n",this,m_sublist);
- if (m_sublist)
- {
- //printf("saveEntries: %d children\n",root->sublist->count());
- // store all child entries of root, but keep the navigation info (=index)
- QListIterator<Entry> eli(*m_sublist);
- Entry *e;
- for (eli.toFirst();(e=eli.current());++eli)
- {
- createSubtreeIndex(rootNav,storage,fd);
- }
- // remove all entries from root
- //m_sublist->setAutoDelete(FALSE);
- m_sublist->clear();
- }
+ createSubtreeIndex(rootNav,storage,fd);
}
void Entry::addSpecialListItem(const char *listName,int itemId)