Browse Source

Fix Coverity issues with pfPatcher

Adam Johnson 11 years ago
parent
commit
5672bcb57e
  1. 4
      Sources/Plasma/FeatureLib/pfPatcher/pfPatcher.cpp

4
Sources/Plasma/FeatureLib/pfPatcher/pfPatcher.cpp

@ -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()

Loading…
Cancel
Save