Skip to content

Commit 44a1907

Browse files
committed
Refactor: remove symbolStorage references (dead code)
1 parent f1a7068 commit 44a1907

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

src/doxygen.cpp

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,6 @@ SDict<DirRelation> Doxygen::dirRelations(257);
154154
ParserManager *Doxygen::parserManager = 0;
155155
QCString Doxygen::htmlFileExtension;
156156
bool Doxygen::suppressDocWarnings = FALSE;
157-
//Store *Doxygen::symbolStorage;
158157
QCString Doxygen::objDBFileName;
159158
QCString Doxygen::entryDBFileName;
160159
QCString Doxygen::filterDBFileName;
@@ -10695,8 +10694,6 @@ void parseInput()
1069510694
* Initialize global lists and dictionaries
1069610695
**************************************************************************/
1069710696

10698-
//Doxygen::symbolStorage = new Store;
10699-
1070010697
// also scale lookup cache with SYMBOL_CACHE_SIZE
1070110698
int cacheSize = Config_getInt(LOOKUP_CACHE_SIZE);
1070210699
if (cacheSize<0) cacheSize=0;
@@ -10717,14 +10714,6 @@ void parseInput()
1071710714
Doxygen::filterDBFileName.sprintf("doxygen_filterdb_%d.tmp",pid);
1071810715
Doxygen::filterDBFileName.prepend(outputDirectory+"/");
1071910716

10720-
// if (Doxygen::symbolStorage->open(Doxygen::objDBFileName)==-1)
10721-
// {
10722-
// err("Failed to open temporary file %s\n",Doxygen::objDBFileName.data());
10723-
// exit(1);
10724-
// }
10725-
10726-
10727-
1072810717
/**************************************************************************
1072910718
* Check/create output directories *
1073010719
**************************************************************************/
@@ -11537,14 +11526,12 @@ void generateOutput()
1153711526
cleanUpDoxygen();
1153811527

1153911528
finalizeSearchIndexer();
11540-
// Doxygen::symbolStorage->close();
1154111529
QDir thisDir;
1154211530
thisDir.remove(Doxygen::objDBFileName);
1154311531
thisDir.remove(Doxygen::filterDBFileName);
1154411532
Config::deinit();
1154511533
QTextCodec::deleteAllCodecs();
1154611534
delete Doxygen::symbolMap;
1154711535
delete Doxygen::clangUsrMap;
11548-
// delete Doxygen::symbolStorage;
1154911536
g_successfulRun=TRUE;
1155011537
}

src/doxygen.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ class PageSDict;
3636
class PageDef;
3737
class SearchIndexIntf;
3838
class ParserManager;
39-
class Store;
4039
class QFileInfo;
4140
class BufStr;
4241
class CiteDict;
@@ -131,7 +130,6 @@ class Doxygen
131130
static SDict<DirRelation> dirRelations;
132131
static ParserManager *parserManager;
133132
static bool suppressDocWarnings;
134-
static Store *symbolStorage;
135133
static QCString objDBFileName;
136134
static QCString entryDBFileName;
137135
static QCString filterDBFileName;

0 commit comments

Comments
 (0)