diff options
| author | nyamatongwe <devnull@localhost> | 2010-05-11 03:38:48 +0000 |
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2010-05-11 03:38:48 +0000 |
| commit | d7443d3685d1fa9b6953863e76f53c3e4e9191e7 (patch) | |
| tree | dd74d3082fddf055535c0576e4be7aa272123637 /src/ExternalLexer.cxx | |
| parent | 982df145bd644e80dfe09c5f0990b3e68e66b218 (diff) | |
| download | scintilla-mirror-d7443d3685d1fa9b6953863e76f53c3e4e9191e7.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... |
