aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers/LexNsis.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'lexers/LexNsis.cxx')
-rw-r--r--lexers/LexNsis.cxx2
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];