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