1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-17 10:52:46 +00:00

Fix Coverity issues with pfPatcher

This commit is contained in:
2014-04-24 20:40:51 -04:00
parent 7e624a08a2
commit 5672bcb57e

View File

@ -163,7 +163,7 @@ class pfPatcherStream : public plZlibStream
public:
pfPatcherStream(pfPatcherWorker* parent, const plFileName& filename, uint64_t size)
: fParent(parent), fFilename(filename), fFlags(0), fBytesWritten(0)
: fParent(parent), fFilename(filename), fFlags(0), fBytesWritten(0), fDLStartTime(0.f)
{
fParent->fTotalBytes += size;
fOutput = new hsRAMStream;
@ -335,7 +335,7 @@ static void IFileThingDownloadCB(ENetError result, void* param, const plFileName
// ===================================================
pfPatcherWorker::pfPatcherWorker() :
fStarted(false), fCurrBytes(0), fTotalBytes(0), fRequestActive(true)
fStarted(false), fCurrBytes(0), fTotalBytes(0), fRequestActive(true), fParent(nullptr)
{ }
pfPatcherWorker::~pfPatcherWorker()