diff options
| author | Nathan Moinvaziri <nathan@nathanm.com> | 2024-01-27 15:50:54 -0800 |
|---|---|---|
| committer | Hans Kristian Rosbach <hk-github@circlestorm.org> | 2024-02-23 13:34:10 +0100 |
| commit | a090529ece94a57e09f4489e28edfda8acb123f4 (patch) | |
| tree | 79f6cb0b83400eb4c79ba72fa40c99e1cdf486c8 /insert_string_tpl.h | |
| parent | 7cca3e6fd75510065dcc7a1e7b0f85402343ede9 (diff) | |
| download | Project-Tick-a090529ece94a57e09f4489e28edfda8acb123f4.tar.gz Project-Tick-a090529ece94a57e09f4489e28edfda8acb123f4.zip | |
Remove deflate_state parameter from update_hash functions.
Diffstat (limited to 'insert_string_tpl.h')
| -rw-r--r-- | insert_string_tpl.h | 3 |
1 files changed, 1 insertions, 2 deletions
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; } |
