diff options
| author | Neil <nyamatongwe@gmail.com> | 2013-08-08 19:09:10 +1000 |
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2013-08-08 19:09:10 +1000 |
| commit | 6e5804b4ecfbfd0fe6ac4228c40ef121c96452ab (patch) | |
| tree | 93048bf19dc63544f463bb2314189127c950bb88 /lexers/LexCOBOL.cxx | |
| parent | 08da59a992ebdd1d19614073ae39d929636270fc (diff) | |
| download | scintilla-mirror-6e5804b4ecfbfd0fe6ac4228c40ef121c96452ab.tar.gz | |
Avoid warnings for uninitialized strings.
Diffstat (limited to 'lexers/LexCOBOL.cxx')
| -rw-r--r-- | lexers/LexCOBOL.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lexers/LexCOBOL.cxx b/lexers/LexCOBOL.cxx index d689762ec..a937690d8 100644 --- a/lexers/LexCOBOL.cxx +++ b/lexers/LexCOBOL.cxx @@ -90,6 +90,8 @@ static int classifyWordCOBOL(unsigned int start, unsigned int end, /*WordList &k WordList& c_keywords = *keywordlists[2]; char s[100]; + s[0] = '\0'; + s[1] = '\0'; getRange(start, end, styler, s, sizeof(s)); char chAttr = SCE_C_IDENTIFIER; |
