Index: src/libchcore/TOverlappedDataBuffer.cpp =================================================================== diff -u -re8f31b0f922b402878356e130c866c4f3682a7f5 -rc6148b3c853fcd809375d48414b7f13dd4d10d7e --- src/libchcore/TOverlappedDataBuffer.cpp (.../TOverlappedDataBuffer.cpp) (revision e8f31b0f922b402878356e130c866c4f3682a7f5) +++ src/libchcore/TOverlappedDataBuffer.cpp (.../TOverlappedDataBuffer.cpp) (revision c6148b3c853fcd809375d48414b7f13dd4d10d7e) @@ -66,12 +66,7 @@ } TOverlappedDataBuffer::TOverlappedDataBuffer(size_t stBufferSize, IOverlappedDataBufferQueue* pQueue) : - m_pBuffer(NULL), - m_stBufferSize(0), - m_bLastPart(false), - m_pQueue(pQueue), - m_dwRequestedDataSize(0), - m_dwRealDataSize(0) + m_pQueue(pQueue) { if (!m_pQueue) throw TCoreException(eErr_InvalidPointer, L"m_pQueue", LOCATION); Index: src/libchcore/TOverlappedDataBuffer.h =================================================================== diff -u -re96806b7f8ff7ca7e9f4afbea603e6351a3dc3e3 -rc6148b3c853fcd809375d48414b7f13dd4d10d7e --- src/libchcore/TOverlappedDataBuffer.h (.../TOverlappedDataBuffer.h) (revision e96806b7f8ff7ca7e9f4afbea603e6351a3dc3e3) +++ src/libchcore/TOverlappedDataBuffer.h (.../TOverlappedDataBuffer.h) (revision c6148b3c853fcd809375d48414b7f13dd4d10d7e) @@ -93,15 +93,15 @@ void ReleaseBuffer(); private: - LPVOID m_pBuffer; // pointer to the allocated buffer - size_t m_stBufferSize; // total buffer size - DWORD m_dwRequestedDataSize; // part of the buffer that is to be used for data transfer (<= m_stBufferSize) - DWORD m_dwRealDataSize; // data size as reported by read operation - DWORD m_dwErrorCode; // win32 error code - bool m_bLastPart; // marks the last part of the file - unsigned long long m_ullBufferOrder; // marks the order of this buffer + LPVOID m_pBuffer = nullptr; // pointer to the allocated buffer + size_t m_stBufferSize = 0; // total buffer size + DWORD m_dwRequestedDataSize = 0; // part of the buffer that is to be used for data transfer (<= m_stBufferSize) + DWORD m_dwRealDataSize = 0; // data size as reported by read operation + DWORD m_dwErrorCode = 0; // win32 error code + bool m_bLastPart = false; // marks the last part of the file + unsigned long long m_ullBufferOrder = 0; // marks the order of this buffer - IOverlappedDataBufferQueue* m_pQueue; // pointer to the queue where this object resides + IOverlappedDataBufferQueue* m_pQueue = nullptr; // pointer to the queue where this object resides }; }