aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers/LexAVE.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2013-08-07 21:17:38 +1000
committerNeil <nyamatongwe@gmail.com>2013-08-07 21:17:38 +1000
commita899e335183da10b9ab9dc0df35aada3dc37fc68 (patch)
treed65548ffc90289d495b8a81d06403324ba59e858 /lexers/LexAVE.cxx
parent156e9310843d056f654840c3c5e60be10eb6f7af (diff)
downloadscintilla-mirror-a899e335183da10b9ab9dc0df35aada3dc37fc68.tar.gz
Ensure strings initialised to avoid warnings.
Diffstat (limited to 'lexers/LexAVE.cxx')
-rw-r--r--lexers/LexAVE.cxx2
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));