summaryrefslogtreecommitdiff
path: root/deflate_medium.c
diff options
context:
space:
mode:
Diffstat (limited to 'deflate_medium.c')
-rw-r--r--deflate_medium.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/deflate_medium.c b/deflate_medium.c
index 0d4d98a..c6b53df 100644
--- a/deflate_medium.c
+++ b/deflate_medium.c
@@ -28,7 +28,7 @@ static int tr_tally_lit(deflate_state *s, int c)
return _tr_tally(s, 0, c);
}
-static int emit_match(deflate_state *s, struct match match, IPos hash_head)
+static int emit_match(deflate_state *s, struct match match)
{
int flush = 0;
@@ -276,7 +276,7 @@ block_state deflate_medium(deflate_state *s, int flush)
}
/* now emit the current match */
- bflush = emit_match(s, current_match, hash_head);
+ bflush = emit_match(s, current_match);
/* move the "cursor" forward */
s->strstart += current_match.match_length;