summaryrefslogtreecommitdiff
path: root/deflate_medium.c
diff options
context:
space:
mode:
authorHans Kristian Rosbach <hk-git@circlestorm.org>2015-05-23 21:04:39 +0200
committerHans Kristian Rosbach <hk-git@circlestorm.org>2015-05-23 21:04:39 +0200
commit2b6fd3880e8534ec902c8e5fe1f44bff6312e91c (patch)
tree3018e67687a06bf0848c05e186ce4c8ad2013fdc /deflate_medium.c
parentd533ae780758435414ecf158b375decfa9aa422e (diff)
Remove unused hash_head input parameter from function emit_match
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;