summaryrefslogtreecommitdiff
path: root/deflate_medium.c
diff options
context:
space:
mode:
Diffstat (limited to 'deflate_medium.c')
-rw-r--r--deflate_medium.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/deflate_medium.c b/deflate_medium.c
index db5d09c..972f5a8 100644
--- a/deflate_medium.c
+++ b/deflate_medium.c
@@ -154,12 +154,6 @@ static void fizzle_matches(deflate_state *s, struct match *current, struct match
if (likely(*match != *orig))
return;
- /* check the overlap case and just give up. We can do better in theory,
- * but unlikely to be worth it
- */
- if (next->match_start + next->match_length >= current->strstart)
- return;
-
c = *current;
n = *next;