diff options
Diffstat (limited to 'src/libs/7zip/win/CPP/7zip/Archive/Common/DummyOutStream.cpp')
-rw-r--r-- | src/libs/7zip/win/CPP/7zip/Archive/Common/DummyOutStream.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/libs/7zip/win/CPP/7zip/Archive/Common/DummyOutStream.cpp b/src/libs/7zip/win/CPP/7zip/Archive/Common/DummyOutStream.cpp deleted file mode 100644 index 7c4f54879..000000000 --- a/src/libs/7zip/win/CPP/7zip/Archive/Common/DummyOutStream.cpp +++ /dev/null @@ -1,17 +0,0 @@ -// DummyOutStream.cpp - -#include "StdAfx.h" - -#include "DummyOutStream.h" - -STDMETHODIMP CDummyOutStream::Write(const void *data, UInt32 size, UInt32 *processedSize) -{ - UInt32 realProcessedSize = size; - HRESULT res = S_OK; - if (_stream) - res = _stream->Write(data, size, &realProcessedSize); - _size += realProcessedSize; - if (processedSize) - *processedSize = realProcessedSize; - return res; -} |