diff options
Diffstat (limited to 'src/ExternalLexer.cxx')
-rw-r--r-- | src/ExternalLexer.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/ExternalLexer.cxx b/src/ExternalLexer.cxx index a0e58185c..9e175a88f 100644 --- a/src/ExternalLexer.cxx +++ b/src/ExternalLexer.cxx @@ -202,10 +202,8 @@ LexerManager *LexerManager::GetInstance() { /// Delete any LexerManager instance... void LexerManager::DeleteInstance() { - if (theInstance) { - delete theInstance; - theInstance = NULL; - } + delete theInstance; + theInstance = NULL; } /// protected constructor - this is a singleton... |