From 3698dbe9ada24cea2b6a6c4c07428e9a457a6b51 Mon Sep 17 00:00:00 2001 From: Neil Date: Wed, 7 Aug 2013 21:17:38 +1000 Subject: Ensure strings initialised to avoid warnings. --- lexers/LexAVE.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lexers/LexAVE.cxx') 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(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(tolower(chNext)); -- cgit v1.2.3