mirror of
https://github.com/cuberite/libevent.git
synced 2025-08-03 09:16:30 -04:00
ht-internal: don't reset hth_table_length explicitly in name_##HT_CLEAR
name_##HT_CLEAR calls name_##HT_INIT that reset hth_table_length to 0.
This commit is contained in:
parent
f05a0d53a6
commit
597c7b259b
@ -380,7 +380,6 @@ ht_string_hash_(const char *s)
|
||||
{ \
|
||||
if (head->hth_table) \
|
||||
freefn(head->hth_table); \
|
||||
head->hth_table_length = 0; \
|
||||
name##_HT_INIT(head); \
|
||||
} \
|
||||
/* Debugging helper: return false iff the representation of 'head' is \
|
||||
|
Loading…
x
Reference in New Issue
Block a user