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 | 9bc61c70c534d999ae0ad01fe56f59a41e7c9f16 (patch) | |
tree | 24fed6762ae3ff8ad892e817000075f8dffdcded /lexers/LexTCMD.cxx | |
parent | 9ab7cc17fb755f68db3e471cdca236e970ec6e0c (diff) | |
download | scintilla-mirror-9bc61c70c534d999ae0ad01fe56f59a41e7c9f16.tar.gz |
Avoid warnings for potential read from uninitialised buffer.
Diffstat (limited to 'lexers/LexTCMD.cxx')
-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 |