Index: src/libchcore/TOrderedBufferQueue.h =================================================================== diff -u -r685d0da3259dd94327ee8d644a88c155585b8249 -racd7bcfa7355db4a0d9af99a1bb99d685810d790 --- src/libchcore/TOrderedBufferQueue.h (.../TOrderedBufferQueue.h) (revision 685d0da3259dd94327ee8d644a88c155585b8249) +++ src/libchcore/TOrderedBufferQueue.h (.../TOrderedBufferQueue.h) (revision acd7bcfa7355db4a0d9af99a1bb99d685810d790) @@ -33,7 +33,7 @@ static const unsigned long long NoPosition = 0xffffffffffffffff; public: - TOrderedBufferQueue(unsigned long long ullExpectedPosition); + explicit TOrderedBufferQueue(unsigned long long ullExpectedPosition); void Push(TOverlappedDataBuffer* pBuffer); Index: src/libchcore/TOverlappedWriterFB.cpp =================================================================== diff -u -r734408890246965d47e6bbf2c2978371269dd1fd -racd7bcfa7355db4a0d9af99a1bb99d685810d790 --- src/libchcore/TOverlappedWriterFB.cpp (.../TOverlappedWriterFB.cpp) (revision 734408890246965d47e6bbf2c2978371269dd1fd) +++ src/libchcore/TOverlappedWriterFB.cpp (.../TOverlappedWriterFB.cpp) (revision acd7bcfa7355db4a0d9af99a1bb99d685810d790) @@ -110,10 +110,10 @@ if(!pBuffer) throw TCoreException(eErr_InternalProblem, L"Write finished was possible, but no buffer is available", LOCATION); - bool bSkip = false; TSubTaskBase::ESubOperationResult eResult = TSubTaskBase::eSubResult_Continue; if(pBuffer->IsLastPart()) { + bool bSkip = false; eResult = m_spDstFile->FinalizeFileFB(*pBuffer, bSkip); if(eResult != TSubTaskBase::eSubResult_Continue) { Index: src/libchcore/TWriteBufferQueueWrapper.h =================================================================== diff -u -r685d0da3259dd94327ee8d644a88c155585b8249 -racd7bcfa7355db4a0d9af99a1bb99d685810d790 --- src/libchcore/TWriteBufferQueueWrapper.h (.../TWriteBufferQueueWrapper.h) (revision 685d0da3259dd94327ee8d644a88c155585b8249) +++ src/libchcore/TWriteBufferQueueWrapper.h (.../TWriteBufferQueueWrapper.h) (revision acd7bcfa7355db4a0d9af99a1bb99d685810d790) @@ -31,7 +31,7 @@ class TWriteBufferQueueWrapper { public: - TWriteBufferQueueWrapper(const TOrderedBufferQueuePtr& spQueue); + explicit TWriteBufferQueueWrapper(const TOrderedBufferQueuePtr& spQueue); ~TWriteBufferQueueWrapper(); void Push(TOverlappedDataBuffer* pBuffer, bool /*bKeepPosition*/) { Push(pBuffer); }