diff options
| author | Hans Kristian Rosbach <hk-git@circlestorm.org> | 2024-02-21 12:06:16 +0100 |
|---|---|---|
| committer | Hans Kristian Rosbach <hk-github@circlestorm.org> | 2024-02-23 13:34:10 +0100 |
| commit | ef2f8d528c0b76741536e7846a7cfc74315da267 (patch) | |
| tree | cdcd72a695bc64b55ca10864538d312c25e6ca2c /insert_string_tpl.h | |
| parent | a090529ece94a57e09f4489e28edfda8acb123f4 (diff) | |
| download | Project-Tick-ef2f8d528c0b76741536e7846a7cfc74315da267.tar.gz Project-Tick-ef2f8d528c0b76741536e7846a7cfc74315da267.zip | |
Remove unused 's' parameter from HASH_CALC macro
Diffstat (limited to 'insert_string_tpl.h')
| -rw-r--r-- | insert_string_tpl.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/insert_string_tpl.h b/insert_string_tpl.h index bfadc5de9e..281c013463 100644 --- a/insert_string_tpl.h +++ b/insert_string_tpl.h @@ -1,8 +1,8 @@ #ifndef INSERT_STRING_H_ #define INSERT_STRING_H_ -/* insert_string.h -- Private insert_string functions shared with more than - * one insert string implementation +/* insert_string_tpl.h -- Private insert_string functions shared with more than + * one insert string implementation * * Copyright (C) 1995-2024 Jean-loup Gailly and Mark Adler * @@ -48,7 +48,7 @@ * previous key instead of complete recalculation each time. */ Z_INTERNAL uint32_t UPDATE_HASH(uint32_t h, uint32_t val) { - HASH_CALC(s, h, val); + HASH_CALC(h, val); return h & HASH_CALC_MASK; } @@ -64,7 +64,7 @@ Z_INTERNAL Pos QUICK_INSERT_STRING(deflate_state *const s, uint32_t str) { HASH_CALC_VAR_INIT; HASH_CALC_READ; - HASH_CALC(s, HASH_CALC_VAR, val); + HASH_CALC(HASH_CALC_VAR, val); HASH_CALC_VAR &= HASH_CALC_MASK; hm = HASH_CALC_VAR; @@ -93,7 +93,7 @@ Z_INTERNAL void INSERT_STRING(deflate_state *const s, uint32_t str, uint32_t cou HASH_CALC_VAR_INIT; HASH_CALC_READ; - HASH_CALC(s, HASH_CALC_VAR, val); + HASH_CALC(HASH_CALC_VAR, val); HASH_CALC_VAR &= HASH_CALC_MASK; hm = HASH_CALC_VAR; |
