From a090529ece94a57e09f4489e28edfda8acb123f4 Mon Sep 17 00:00:00 2001 From: Nathan Moinvaziri Date: Sat, 27 Jan 2024 15:50:54 -0800 Subject: Remove deflate_state parameter from update_hash functions. --- insert_string_tpl.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'insert_string_tpl.h') diff --git a/insert_string_tpl.h b/insert_string_tpl.h index a4b0c4a515..bfadc5de9e 100644 --- a/insert_string_tpl.h +++ b/insert_string_tpl.h @@ -47,8 +47,7 @@ * input characters, so that a running hash key can be computed from the * previous key instead of complete recalculation each time. */ -Z_INTERNAL uint32_t UPDATE_HASH(deflate_state *const s, uint32_t h, uint32_t val) { - (void)s; +Z_INTERNAL uint32_t UPDATE_HASH(uint32_t h, uint32_t val) { HASH_CALC(s, h, val); return h & HASH_CALC_MASK; } -- cgit 0.0.5-2-1-g0f52