From 9c772ce7d85153e4cfb44d8510569bc7fc2004d2 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Wed, 30 Mar 2005 22:01:17 +0000 Subject: Forgot to init _encbyte in MemoryReadStream. svn-id: r17301 --- common/stream.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/stream.h b/common/stream.h index 86abb06c33..ac0fa18296 100644 --- a/common/stream.h +++ b/common/stream.h @@ -226,7 +226,7 @@ private: byte _encbyte; public: - MemoryReadStream(const byte *buf, uint32 len) : _ptr(buf), _ptrOrig(buf), _bufSize(len), _pos(0) {} + MemoryReadStream(const byte *buf, uint32 len) : _ptr(buf), _ptrOrig(buf), _bufSize(len), _pos(0), _encbyte(0) {} void setEnc(byte value) { _encbyte = value; } -- cgit v1.2.3