diff options
author | Neil <nyamatongwe@gmail.com> | 2014-01-19 14:46:48 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2014-01-19 14:46:48 +1100 |
commit | ee715f20fd678120d416202e3225b0343ee24b16 (patch) | |
tree | 3df1078ae040d680488dc2f1bf0ba2dccb89f1b8 | |
parent | 83571e8719debf04f380603c620475c0c60e3f53 (diff) | |
download | scintilla-mirror-ee715f20fd678120d416202e3225b0343ee24b16.tar.gz |
Avoid warnings for potential read from uninitialised buffer.
-rw-r--r-- | lexers/LexTCMD.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lexers/LexTCMD.cxx b/lexers/LexTCMD.cxx index d4454ea86..9da760542 100644 --- a/lexers/LexTCMD.cxx +++ b/lexers/LexTCMD.cxx @@ -107,7 +107,7 @@ static void ColouriseTCMDLine( char *lineBuffer, unsigned int lengthLine, unsign // Examples are: cd. cd\ echo: echo. path= bool inString = false; // Used for processing while "" // Special Keyword Buffer used to determine if the first n characters is a Keyword - char sKeywordBuffer[260]; // Special Keyword Buffer + char sKeywordBuffer[260] = ""; // Special Keyword Buffer bool sKeywordFound; // Exit Special Keyword for-loop if found // Skip leading whitespace |