diff options
author | Neil <nyamatongwe@gmail.com> | 2013-08-03 13:26:21 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2013-08-03 13:26:21 +1000 |
commit | 8cb375d20e485ca059d45ab1e8a54080707394a9 (patch) | |
tree | a4f536c618debe2b037250c6a61716510027a0da | |
parent | 09d13caa400519c67a02099b2c8badf85b2b9ad8 (diff) | |
download | scintilla-mirror-8cb375d20e485ca059d45ab1e8a54080707394a9.tar.gz |
Initialise string to avoid warnings.
-rw-r--r-- | lexers/LexMSSQL.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lexers/LexMSSQL.cxx b/lexers/LexMSSQL.cxx index 1217b2841..f5b87a0a0 100644 --- a/lexers/LexMSSQL.cxx +++ b/lexers/LexMSSQL.cxx @@ -287,7 +287,7 @@ static void FoldMSSQLDoc(unsigned int startPos, int length, int, WordList *[], A int levelCurrent = levelPrev; char chNext = styler[startPos]; bool inComment = (styler.StyleAt(startPos-1) == SCE_MSSQL_COMMENT); - char s[10]; + char s[10] = ""; for (unsigned int i = startPos; i < endPos; i++) { char ch = chNext; chNext = styler.SafeGetCharAt(i + 1); |