diff options
| author | nyamatongwe <unknown> | 2013-04-01 15:21:38 +1100 | 
|---|---|---|
| committer | nyamatongwe <unknown> | 2013-04-01 15:21:38 +1100 | 
| commit | b46417feadc81a05cb90b3bb3f993d72e488af8f (patch) | |
| tree | a38d92cb8b9aee8c150ed42d730252526752fa4c /lexlib/LexerModule.cxx | |
| parent | cf6bbc7f24794d767a602d48390577eb43476f2b (diff) | |
| download | scintilla-mirror-b46417feadc81a05cb90b3bb3f993d72e488af8f.tar.gz | |
Variable not needed.
Diffstat (limited to 'lexlib/LexerModule.cxx')
| -rw-r--r-- | lexlib/LexerModule.cxx | 4 | 
1 files changed, 1 insertions, 3 deletions
| diff --git a/lexlib/LexerModule.cxx b/lexlib/LexerModule.cxx index defc86356..fc8884dc7 100644 --- a/lexlib/LexerModule.cxx +++ b/lexlib/LexerModule.cxx @@ -74,11 +74,9 @@ int LexerModule::GetNumWordLists() const {  }  const char *LexerModule::GetWordListDescription(int index) const { -	static const char *emptyStr = ""; -  	assert(index < GetNumWordLists());  	if (index >= GetNumWordLists()) { -		return emptyStr; +		return "";  	} else {  		return wordListDescriptions[index];   	} | 
