diff options
author | nyamatongwe <nyamatongwe@gmail.com> | 2012-08-23 09:24:17 +1000 |
---|---|---|
committer | nyamatongwe <nyamatongwe@gmail.com> | 2012-08-23 09:24:17 +1000 |
commit | ad7a82dd1ce1e3cc6c5fefc5fb68d18d38b5163b (patch) | |
tree | ef480378767713d306820f62e5b38075f0279b0c /lexers/LexYAML.cxx | |
parent | e75bfa6d5a04530f71ea70c8c2e1929986222a4f (diff) | |
download | scintilla-mirror-ad7a82dd1ce1e3cc6c5fefc5fb68d18d38b5163b.tar.gz |
Initialize strings to avoid warnings from Clang Analyze.
Diffstat (limited to 'lexers/LexYAML.cxx')
-rw-r--r-- | lexers/LexYAML.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lexers/LexYAML.cxx b/lexers/LexYAML.cxx index 727e8af8f..c808d9743 100644 --- a/lexers/LexYAML.cxx +++ b/lexers/LexYAML.cxx @@ -169,7 +169,7 @@ static void ColouriseYAMLLine( } static void ColouriseYAMLDoc(unsigned int startPos, int length, int, WordList *keywordLists[], Accessor &styler) { - char lineBuffer[1024]; + char lineBuffer[1024] = ""; styler.StartAt(startPos); styler.StartSegment(startPos); unsigned int linePos = 0; |