summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/zlib/deflate.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/zlib/deflate.c')
-rw-r--r--src/lib/zlib/deflate.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/lib/zlib/deflate.c b/src/lib/zlib/deflate.c
index 1bddc5cdb0d..5c65bdc9ad9 100644
--- a/src/lib/zlib/deflate.c
+++ b/src/lib/zlib/deflate.c
@@ -1415,7 +1415,6 @@ local void fill_window(s)
* move the upper half to the lower one to make room in the upper half.
*/
if (s->strstart >= wsize+MAX_DIST(s)) {
-
zmemcpy(s->window, s->window+wsize, (unsigned)wsize);
s->match_start -= wsize;
s->strstart -= wsize; /* we now have strstart >= MAX_DIST */
@@ -1577,7 +1576,6 @@ local block_state deflate_stored(s, flush)
for (;;) {
/* Fill the window as much as possible: */
if (s->lookahead <= 1) {
-
Assert(s->strstart < s->w_size+MAX_DIST(s) ||
s->block_start >= (long)s->w_size, "slide too late");
@@ -1775,7 +1773,6 @@ local block_state deflate_slow(s, flush)
s->strstart - s->match_start > TOO_FAR)
#endif
)) {
-
/* If prev_match is also MIN_MATCH, match_start is garbage
* but we will ignore the current match anyway.
*/