diff options
author | nyamatongwe <unknown> | 2010-05-11 03:38:48 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2010-05-11 03:38:48 +0000 |
commit | cbb322ab4639975a0326c455da89e73f0bbb0785 (patch) | |
tree | dd74d3082fddf055535c0576e4be7aa272123637 /src/ExternalLexer.cxx | |
parent | 8a6ef2beb841be1bb169d18fab79fc718e9b37ca (diff) | |
download | scintilla-mirror-cbb322ab4639975a0326c455da89e73f0bbb0785.tar.gz |
Removed redundant code.
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... |