Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kornelski/7z.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '7zip/Compress/Copy/CopyCoder.cpp')
-rwxr-xr-x7zip/Compress/Copy/CopyCoder.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/7zip/Compress/Copy/CopyCoder.cpp b/7zip/Compress/Copy/CopyCoder.cpp
index ab81ba29..ce1bde03 100755
--- a/7zip/Compress/Copy/CopyCoder.cpp
+++ b/7zip/Compress/Copy/CopyCoder.cpp
@@ -17,7 +17,7 @@ CCopyCoder::~CCopyCoder()
STDMETHODIMP CCopyCoder::Code(ISequentialInStream *inStream,
ISequentialOutStream *outStream,
- const UInt64 *inSize, const UInt64 *outSize,
+ const UInt64 * /* inSize */, const UInt64 *outSize,
ICompressProgressInfo *progress)
{
if (_buffer == 0)
@@ -28,7 +28,7 @@ STDMETHODIMP CCopyCoder::Code(ISequentialInStream *inStream,
}
TotalSize = 0;
- while(true)
+ for (;;)
{
UInt32 realProcessedSize;
UInt32 size = kBufferSize;