diff options
Diffstat (limited to 'src/pycode.l')
-rw-r--r-- | src/pycode.l | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/src/pycode.l b/src/pycode.l index 5955e85..aa72b43 100644 --- a/src/pycode.l +++ b/src/pycode.l @@ -281,20 +281,24 @@ static int countLines() static void setCurrentDoc(const QCString &name,const QCString &base,const QCString &anchor="") { - static bool searchEngineEnabled=Config_getBool("SEARCHENGINE"); - if (searchEngineEnabled) - { - Doxygen::searchIndex->setCurrentDoc(name,base,anchor); - } + (void)name; + (void)base; + (void)anchor; + //static bool searchEngineEnabled=Config_getBool("SEARCHENGINE"); + //if (searchEngineEnabled) + //{ + // Doxygen::searchIndex->setCurrentDoc(name,base,anchor); + //} } static void addToSearchIndex(const char *text) { - static bool searchEngineEnabled=Config_getBool("SEARCHENGINE"); - if (searchEngineEnabled) - { - Doxygen::searchIndex->addWord(text,FALSE); - } + (void)text; + //static bool searchEngineEnabled=Config_getBool("SEARCHENGINE"); + //if (searchEngineEnabled) + //{ + // Doxygen::searchIndex->addWord(text,FALSE); + //} } |