diff options
author | nyamatongwe <devnull@localhost> | 2010-05-04 05:27:26 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2010-05-04 05:27:26 +0000 |
commit | a253fd18fde8ca3e012430f8bbef928a2d22b2a2 (patch) | |
tree | 5edb502dcc1a8e8f763d5fbb6d0b92545c718c38 /src/LexBullant.cxx | |
parent | 3bea1c2deceda1550a1aef4892b6e65451e5c599 (diff) | |
download | scintilla-mirror-a253fd18fde8ca3e012430f8bbef928a2d22b2a2.tar.gz |
Fixed some warnings from clang --analyze.
Diffstat (limited to 'src/LexBullant.cxx')
-rw-r--r-- | src/LexBullant.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/LexBullant.cxx b/src/LexBullant.cxx index cc60cd2fc..d40e50bde 100644 --- a/src/LexBullant.cxx +++ b/src/LexBullant.cxx @@ -21,6 +21,7 @@ using namespace Scintilla; static int classifyWordBullant(unsigned int start, unsigned int end, WordList &keywords, Accessor &styler) { char s[100]; + s[0] = '\0'; for (unsigned int i = 0; i < end - start + 1 && i < 30; i++) { s[i] = static_cast<char>(tolower(styler[start + i])); s[i + 1] = '\0'; |