From d7443d3685d1fa9b6953863e76f53c3e4e9191e7 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Tue, 11 May 2010 03:38:48 +0000 Subject: Removed redundant code. --- src/ExternalLexer.cxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/ExternalLexer.cxx') 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... -- cgit v1.2.3