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 | fea00bc0aabb974fe0d6cc572b9178441f44b7ba (patch) | |
tree | 07403bea0fe1e71766ccd87e2fd6926fc5673995 | |
parent | c547cce8d2690a5d063aa5c975cfef9f405c0e4d (diff) | |
download | scintilla-mirror-fea00bc0aabb974fe0d6cc572b9178441f44b7ba.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); |