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:
Azat Khuzhin 2015-01-08 04:43:37 +03:00
parent f05a0d53a6
commit 597c7b259b

View File

@ -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 \