--- a/lexers/LexNsis.cxx
+++ b/lexers/LexNsis.cxx
@@ -180,6 +180,8 @@
     bUserVars = true;
 
 	char s[100];
+	s[0] = '\0';
+	s[1] = '\0';
 
 	WordList &Functions = *keywordLists[0];
 	WordList &Variables = *keywordLists[1];