diff options
| -rw-r--r-- | lexers/LexAU3.cxx | 2 | ||||
| -rw-r--r-- | lexers/LexAVE.cxx | 2 | ||||
| -rw-r--r-- | lexers/LexLout.cxx | 2 | ||||
| -rw-r--r-- | lexers/LexScriptol.cxx | 2 | 
4 files changed, 4 insertions, 4 deletions
| diff --git a/lexers/LexAU3.cxx b/lexers/LexAU3.cxx index 6f137adba..68f1798d3 100644 --- a/lexers/LexAU3.cxx +++ b/lexers/LexAU3.cxx @@ -228,7 +228,7 @@ static void ColouriseAU3Doc(unsigned int startPos,  	char si;     // string indicator "=1 '=2  	char ni;     // Numeric indicator error=9 normal=0 normal+dec=1 hex=2 Enot=3  	char ci;     // comment indicator 0=not linecomment(;) -	char s_save[100]; +	char s_save[100] = "";  	si=0;  	ni=0;  	ci=0; diff --git a/lexers/LexAVE.cxx b/lexers/LexAVE.cxx index 1bce9a2c0..8f5729e3d 100644 --- a/lexers/LexAVE.cxx +++ b/lexers/LexAVE.cxx @@ -167,7 +167,7 @@ static void FoldAveDoc(unsigned int startPos, int length, int /* initStyle */, W  	char chNext = static_cast<char>(tolower(styler[startPos]));  	bool foldCompact = styler.GetPropertyInt("fold.compact", 1) != 0;  	int styleNext = styler.StyleAt(startPos); -	char s[10]; +	char s[10] = "";  	for (unsigned int i = startPos; i < lengthDoc; i++) {  		char ch = static_cast<char>(tolower(chNext)); diff --git a/lexers/LexLout.cxx b/lexers/LexLout.cxx index 985b93b49..83eb97ec8 100644 --- a/lexers/LexLout.cxx +++ b/lexers/LexLout.cxx @@ -151,7 +151,7 @@ static void FoldLoutDoc(unsigned int startPos, int length, int, WordList *[],  	char chNext = styler[startPos];  	bool foldCompact = styler.GetPropertyInt("fold.compact", 1) != 0;  	int styleNext = styler.StyleAt(startPos); -	char s[10]; +	char s[10] = "";  	for (unsigned int i = startPos; i < endPos; i++) {  		char ch = chNext; diff --git a/lexers/LexScriptol.cxx b/lexers/LexScriptol.cxx index 4b9192314..31747b88e 100644 --- a/lexers/LexScriptol.cxx +++ b/lexers/LexScriptol.cxx @@ -27,7 +27,7 @@ using namespace Scintilla;  static void ClassifyWordSol(unsigned int start, unsigned int end, WordList &keywords, Accessor &styler, char *prevWord)  { -    char s[100]; +    char s[100] = "";      bool wordIsNumber = isdigit(styler[start]) != 0;      for (unsigned int i = 0; i < end - start + 1 && i < 30; i++)       { | 
