diff options
| author | Neil <nyamatongwe@gmail.com> | 2013-08-08 19:09:10 +1000 |
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2013-08-08 19:09:10 +1000 |
| commit | c7f250a5cca5545e7858786a0ca13620b87b7ada (patch) | |
| tree | d7485c4bd71376cba0632cec5c89850b0f3b72be /lexers/LexNsis.cxx | |
| parent | 7e77919d56e56c37a7d555a9e2707650adc433ec (diff) | |
| download | scintilla-mirror-c7f250a5cca5545e7858786a0ca13620b87b7ada.tar.gz | |
Avoid warnings for uninitialized strings.
Diffstat (limited to 'lexers/LexNsis.cxx')
| -rw-r--r-- | lexers/LexNsis.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lexers/LexNsis.cxx b/lexers/LexNsis.cxx index 599ccfbbf..970851475 100644 --- a/lexers/LexNsis.cxx +++ b/lexers/LexNsis.cxx @@ -180,6 +180,8 @@ static int classifyWordNsis(unsigned int start, unsigned int end, WordList *keyw bUserVars = true; char s[100]; + s[0] = '\0'; + s[1] = '\0'; WordList &Functions = *keywordLists[0]; WordList &Variables = *keywordLists[1]; |
