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:
@ -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()
|
||||
|
Reference in New Issue
Block a user