Fix uninitialized values in ESMWriter::save

pull/1/head
Roman Proskuryakov 9 years ago
parent 964ea78367
commit 1e7d573f24

@ -9,10 +9,13 @@
namespace ESM namespace ESM
{ {
ESMWriter::ESMWriter() ESMWriter::ESMWriter()
: mStream(NULL) : mRecords()
, mEncoder (0) , mStream(NULL)
, mRecordCount (0) , mHeaderPos()
, mCounting (true) , mEncoder(NULL)
, mRecordCount(0)
, mCounting(true)
, mHeader()
{} {}
unsigned int ESMWriter::getVersion() const unsigned int ESMWriter::getVersion() const

Loading…
Cancel
Save