mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-18 11:19:10 +00:00
Fix Coverity issues with pfPatcher
This commit is contained in:
@ -163,7 +163,7 @@ class pfPatcherStream : public plZlibStream
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
pfPatcherStream(pfPatcherWorker* parent, const plFileName& filename, uint64_t size)
|
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;
|
fParent->fTotalBytes += size;
|
||||||
fOutput = new hsRAMStream;
|
fOutput = new hsRAMStream;
|
||||||
@ -335,7 +335,7 @@ static void IFileThingDownloadCB(ENetError result, void* param, const plFileName
|
|||||||
// ===================================================
|
// ===================================================
|
||||||
|
|
||||||
pfPatcherWorker::pfPatcherWorker() :
|
pfPatcherWorker::pfPatcherWorker() :
|
||||||
fStarted(false), fCurrBytes(0), fTotalBytes(0), fRequestActive(true)
|
fStarted(false), fCurrBytes(0), fTotalBytes(0), fRequestActive(true), fParent(nullptr)
|
||||||
{ }
|
{ }
|
||||||
|
|
||||||
pfPatcherWorker::~pfPatcherWorker()
|
pfPatcherWorker::~pfPatcherWorker()
|
||||||
|
Reference in New Issue
Block a user