Update documentation of _dictReset (#9908)

This commit is contained in:
丽媛自己动 2021-12-08 03:14:18 +08:00 committed by GitHub
parent 1736fa4d22
commit 0b26e389d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -93,8 +93,7 @@ uint64_t dictGenCaseHashFunction(const unsigned char *buf, int len) {
/* ----------------------------- API implementation ------------------------- */
/* Reset a hash table already initialized with ht_init().
* NOTE: This function should only be called by ht_destroy(). */
/* Reset hash table parameters already initialized with _dictInit()*/
static void _dictReset(dict *d, int htidx)
{
d->ht_table[htidx] = NULL;