aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32/ExternalLexer.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2001-05-21 07:24:57 +0000
committernyamatongwe <devnull@localhost>2001-05-21 07:24:57 +0000
commitbd5470af2364a7f7305ee4dc5e4adb27d6f8f876 (patch)
treed906c4ca2e7eb7de314129e44a8f6300a9a4f3b6 /win32/ExternalLexer.cxx
parentf74d10b434a7bf595ea9bc0a12c4079f44907a26 (diff)
downloadscintilla-mirror-bd5470af2364a7f7305ee4dc5e4adb27d6f8f876.tar.gz
Avoided some warnings.
Diffstat (limited to 'win32/ExternalLexer.cxx')
-rw-r--r--win32/ExternalLexer.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/win32/ExternalLexer.cxx b/win32/ExternalLexer.cxx
index 871ddf1a0..d6df40343 100644
--- a/win32/ExternalLexer.cxx
+++ b/win32/ExternalLexer.cxx
@@ -242,13 +242,12 @@ void LexerManager::EnumerateLexers() {
if (hFind != INVALID_HANDLE_VALUE) {
//Found the first file...
BOOL found = TRUE;
- LexerLibrary *lib = NULL;
SString to_open;
while (found) {
to_open.assign(sPath);
to_open += FindFileData.cFileName;
- lib = new LexerLibrary(to_open.c_str());
+ LexerLibrary *lib = new LexerLibrary(to_open.c_str());
if (NULL != first) {
last->next = lib;
last = lib;