diff options
| author | Hans Kristian Rosbach <hk-git@circlestorm.org> | 2026-03-12 20:31:30 +0100 |
|---|---|---|
| committer | Hans Kristian Rosbach <hk-github@circlestorm.org> | 2026-03-15 01:05:20 +0100 |
| commit | 0387516df00314a750436e595ab3ed8ba093acc6 (patch) | |
| tree | 885d6f93a6f73dd266007d11221a7e3c58170988 | |
| parent | 51598c916c6ea1f0781b7e0b675eb402c4705699 (diff) | |
| download | Project-Tick-0387516df00314a750436e595ab3ed8ba093acc6.tar.gz Project-Tick-0387516df00314a750436e595ab3ed8ba093acc6.zip | |
Remove check that is always true (even if WANT_MIN_MATCH was reduced from 4 to 3).
| -rw-r--r-- | deflate_medium.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/deflate_medium.c b/deflate_medium.c index 6b860333c1..860834d1fc 100644 --- a/deflate_medium.c +++ b/deflate_medium.c @@ -82,9 +82,7 @@ static void insert_match(deflate_state *s, struct match match) { } } else { strstart += match_len; - - if (strstart >= (STD_MIN_MATCH - 2)) - quick_insert_string(s, strstart + 2 - STD_MIN_MATCH); + quick_insert_string(s, strstart + 2 - STD_MIN_MATCH); /* If lookahead < WANT_MIN_MATCH, ins_h is garbage, but it does not * matter since it will be recomputed at next deflate call. |
