Index: third_party/zlib/contrib/minizip/unzip.c |
diff --git a/third_party/zlib/contrib/minizip/unzip.c b/third_party/zlib/contrib/minizip/unzip.c |
index 22481a2d6c4c6523cd839483b3ccbc8e0b65c45a..af59b8029443c28da6f5fd6df6c26fb817ede519 100644 |
--- a/third_party/zlib/contrib/minizip/unzip.c |
+++ b/third_party/zlib/contrib/minizip/unzip.c |
@@ -1705,11 +1705,6 @@ extern int ZEXPORT unzReadCurrentFile (unzFile file, voidp buf, unsigned len) |
pfile_in_zip_read_info->stream.avail_out = (uInt)len; |
- if ((len>pfile_in_zip_read_info->rest_read_uncompressed) && |
- (!(pfile_in_zip_read_info->raw))) |
- pfile_in_zip_read_info->stream.avail_out = |
- (uInt)pfile_in_zip_read_info->rest_read_uncompressed; |
- |
if ((len>pfile_in_zip_read_info->rest_read_compressed+ |
pfile_in_zip_read_info->stream.avail_in) && |
(pfile_in_zip_read_info->raw)) |