GRIM: Initialize more members in MSCab's constructor

This commit is contained in:
Einar Johan Trøan Sømåen 2014-01-07 11:19:58 +01:00
parent d741e0c1a5
commit 8fd38d3762

View File

@ -205,7 +205,8 @@ Common::SeekableReadStream *MsCabinet::createReadStreamForMember(const Common::S
}
MsCabinet::Decompressor::Decompressor(const MsCabinet::FolderEntry *folder, Common::SeekableReadStream *data) :
_curFolder(folder), _data(data), _curBlock(-1), _compressedBlock(0), _decompressedBlock(0), _fileBuf(0) {
_curFolder(folder), _data(data), _curBlock(-1), _compressedBlock(0), _decompressedBlock(0), _fileBuf(0),
_inBlockEnd(0), _inBlockStart(0), _endBlock(0), _startBlock(0) {
//Alloc the decompression buffers
_compressedBlock = new byte[kCabInputmax];