diff options
| author | Neil <nyamatongwe@gmail.com> | 2014-12-05 21:47:23 +1100 |
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2014-12-05 21:47:23 +1100 |
| commit | ae5050fabb65cacde2acd5fbf368470c1f88799c (patch) | |
| tree | afa46401d6d5a958d603e2d2c497f021e47f715f /lexlib/LexAccessor.h | |
| parent | bfad851459cb44308d42b5889b6495c986a19438 (diff) | |
| download | scintilla-mirror-ae5050fabb65cacde2acd5fbf368470c1f88799c.tar.gz | |
Prevent some static analyzer warnings.
Diffstat (limited to 'lexlib/LexAccessor.h')
| -rw-r--r-- | lexlib/LexAccessor.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lexlib/LexAccessor.h b/lexlib/LexAccessor.h index 35e15726c..d04216a95 100644 --- a/lexlib/LexAccessor.h +++ b/lexlib/LexAccessor.h @@ -58,6 +58,7 @@ public: validLen(0), startSeg(0), startPosStyling(0), documentVersion(pAccess->Version()) { + buf[0] = 0; // Prevent warnings by static analyzers about uninitialized buf. switch (codePage) { case 65001: encodingType = encUnicode; |
