diff options
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; | 
