Fix uninitialized values in ESMWriter::save

coverity_scan^2
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)
, mHeaderPos()
, mEncoder(NULL)
, mRecordCount(0) , mRecordCount(0)
, mCounting(true) , mCounting(true)
, mHeader()
{} {}
unsigned int ESMWriter::getVersion() const unsigned int ESMWriter::getVersion() const

Loading…
Cancel
Save