aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ExternalLexer.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2010-05-11 03:38:48 +0000
committernyamatongwe <unknown>2010-05-11 03:38:48 +0000
commitcbb322ab4639975a0326c455da89e73f0bbb0785 (patch)
treedd74d3082fddf055535c0576e4be7aa272123637 /src/ExternalLexer.cxx
parent8a6ef2beb841be1bb169d18fab79fc718e9b37ca (diff)
downloadscintilla-mirror-cbb322ab4639975a0326c455da89e73f0bbb0785.tar.gz
Removed redundant code.
Diffstat (limited to 'src/ExternalLexer.cxx')
-rw-r--r--src/ExternalLexer.cxx6
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...