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 | a899e335183da10b9ab9dc0df35aada3dc37fc68 (patch) | |
tree | d65548ffc90289d495b8a81d06403324ba59e858 /lexers/LexLout.cxx | |
parent | 156e9310843d056f654840c3c5e60be10eb6f7af (diff) | |
download | scintilla-mirror-a899e335183da10b9ab9dc0df35aada3dc37fc68.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; |