summaryrefslogtreecommitdiff
path: root/deflate_fast.c
diff options
context:
space:
mode:
Diffstat (limited to 'deflate_fast.c')
-rw-r--r--deflate_fast.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/deflate_fast.c b/deflate_fast.c
index 1594886..1e11235 100644
--- a/deflate_fast.c
+++ b/deflate_fast.c
@@ -47,7 +47,6 @@ Z_INTERNAL block_state deflate_fast(deflate_state *s, int flush) {
/* Find the longest match, discarding those <= prev_length.
* At this point we have always match length < MIN_MATCH
*/
-
if (dist <= MAX_DIST(s) && dist > 0 && hash_head != 0) {
/* To simplify the code, we prevent matches with the string
* of window index 0 (in particular we have to avoid a match