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/LexAVE.cxx | |
parent | 8cf888545b78221b3c27c8dc4601522332157b68 (diff) | |
download | scintilla-mirror-3698dbe9ada24cea2b6a6c4c07428e9a457a6b51.tar.gz |
Ensure strings initialised to avoid warnings.
Diffstat (limited to 'lexers/LexAVE.cxx')
-rw-r--r-- | lexers/LexAVE.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lexers/LexAVE.cxx b/lexers/LexAVE.cxx index 1bce9a2c0..8f5729e3d 100644 --- a/lexers/LexAVE.cxx +++ b/lexers/LexAVE.cxx @@ -167,7 +167,7 @@ static void FoldAveDoc(unsigned int startPos, int length, int /* initStyle */, W char chNext = static_cast<char>(tolower(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 < lengthDoc; i++) { char ch = static_cast<char>(tolower(chNext)); |