From 44a19079003d62fb600e8d952a2ea7b6b2b23d22 Mon Sep 17 00:00:00 2001 From: Dimitri van Heesch Date: Sat, 25 Apr 2020 21:25:11 +0200 Subject: Refactor: remove symbolStorage references (dead code) --- src/doxygen.cpp | 13 ------------- src/doxygen.h | 2 -- 2 files changed, 15 deletions(-) diff --git a/src/doxygen.cpp b/src/doxygen.cpp index f94b4e2..1d15a91 100644 --- a/src/doxygen.cpp +++ b/src/doxygen.cpp @@ -154,7 +154,6 @@ SDict Doxygen::dirRelations(257); ParserManager *Doxygen::parserManager = 0; QCString Doxygen::htmlFileExtension; bool Doxygen::suppressDocWarnings = FALSE; -//Store *Doxygen::symbolStorage; QCString Doxygen::objDBFileName; QCString Doxygen::entryDBFileName; QCString Doxygen::filterDBFileName; @@ -10695,8 +10694,6 @@ void parseInput() * Initialize global lists and dictionaries **************************************************************************/ - //Doxygen::symbolStorage = new Store; - // also scale lookup cache with SYMBOL_CACHE_SIZE int cacheSize = Config_getInt(LOOKUP_CACHE_SIZE); if (cacheSize<0) cacheSize=0; @@ -10717,14 +10714,6 @@ void parseInput() Doxygen::filterDBFileName.sprintf("doxygen_filterdb_%d.tmp",pid); Doxygen::filterDBFileName.prepend(outputDirectory+"/"); -// if (Doxygen::symbolStorage->open(Doxygen::objDBFileName)==-1) -// { -// err("Failed to open temporary file %s\n",Doxygen::objDBFileName.data()); -// exit(1); -// } - - - /************************************************************************** * Check/create output directories * **************************************************************************/ @@ -11537,7 +11526,6 @@ void generateOutput() cleanUpDoxygen(); finalizeSearchIndexer(); -// Doxygen::symbolStorage->close(); QDir thisDir; thisDir.remove(Doxygen::objDBFileName); thisDir.remove(Doxygen::filterDBFileName); @@ -11545,6 +11533,5 @@ void generateOutput() QTextCodec::deleteAllCodecs(); delete Doxygen::symbolMap; delete Doxygen::clangUsrMap; -// delete Doxygen::symbolStorage; g_successfulRun=TRUE; } diff --git a/src/doxygen.h b/src/doxygen.h index d04b0b3..0318526 100644 --- a/src/doxygen.h +++ b/src/doxygen.h @@ -36,7 +36,6 @@ class PageSDict; class PageDef; class SearchIndexIntf; class ParserManager; -class Store; class QFileInfo; class BufStr; class CiteDict; @@ -131,7 +130,6 @@ class Doxygen static SDict dirRelations; static ParserManager *parserManager; static bool suppressDocWarnings; - static Store *symbolStorage; static QCString objDBFileName; static QCString entryDBFileName; static QCString filterDBFileName; -- cgit v0.12