diff options
author | Neil <nyamatongwe@gmail.com> | 2013-08-07 21:17:38 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2013-08-07 21:17:38 +1000 |
commit | 3698dbe9ada24cea2b6a6c4c07428e9a457a6b51 (patch) | |
tree | f18718ec7f7a253bac4148fd0d3d77fe65c06f5e /lexers/LexLout.cxx | |
parent | 8cf888545b78221b3c27c8dc4601522332157b68 (diff) | |
download | scintilla-mirror-3698dbe9ada24cea2b6a6c4c07428e9a457a6b51.tar.gz |
Ensure strings initialised to avoid warnings.
Diffstat (limited to 'lexers/LexLout.cxx')
-rw-r--r-- | lexers/LexLout.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lexers/LexLout.cxx b/lexers/LexLout.cxx index 985b93b49..83eb97ec8 100644 --- a/lexers/LexLout.cxx +++ b/lexers/LexLout.cxx @@ -151,7 +151,7 @@ static void FoldLoutDoc(unsigned int startPos, int length, int, WordList *[], char chNext = styler[startPos]; bool foldCompact = styler.GetPropertyInt("fold.compact", 1) != 0; int styleNext = styler.StyleAt(startPos); - char s[10]; + char s[10] = ""; for (unsigned int i = startPos; i < endPos; i++) { char ch = chNext; |