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/Archive/Rar/RarVolumeInStream.cpp')
-rwxr-xr-x7zip/Archive/Rar/RarVolumeInStream.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/7zip/Archive/Rar/RarVolumeInStream.cpp b/7zip/Archive/Rar/RarVolumeInStream.cpp
index 5a185707..32078e6d 100755
--- a/7zip/Archive/Rar/RarVolumeInStream.cpp
+++ b/7zip/Archive/Rar/RarVolumeInStream.cpp
@@ -64,6 +64,7 @@ STDMETHODIMP CFolderInStream::Read(void *data, UInt32 size, UInt32 *processedSiz
}
realProcessedSize += localProcessedSize;
size -= localProcessedSize;
+ break;
}
else
{
@@ -75,9 +76,4 @@ STDMETHODIMP CFolderInStream::Read(void *data, UInt32 size, UInt32 *processedSiz
return S_OK;
}
-STDMETHODIMP CFolderInStream::ReadPart(void *data, UInt32 size, UInt32 *processedSize)
-{
- return Read(data, size, processedSize);
-}
-
-}} \ No newline at end of file
+}}