]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Remove unused hash_head input parameter from function emit_match
authorHans Kristian Rosbach <hk-git@circlestorm.org>
Sat, 23 May 2015 19:04:39 +0000 (21:04 +0200)
committerHans Kristian Rosbach <hk-git@circlestorm.org>
Sat, 23 May 2015 19:04:39 +0000 (21:04 +0200)
deflate_medium.c

index 0d4d98a7da321b48bb7ee062d47bf390ad9337a7..c6b53df15393fd4a53a0c5f7a614fbd243acea9e 100644 (file)
@@ -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;