diff options
Diffstat (limited to 'src/common/tests/hash-test.c')
-rw-r--r-- | src/common/tests/hash-test.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/tests/hash-test.c b/src/common/tests/hash-test.c index 6195775..b85ffd6 100644 --- a/src/common/tests/hash-test.c +++ b/src/common/tests/hash-test.c @@ -354,6 +354,7 @@ test_run(void) cfg.hash = hash_func; cfg.comp = cmp_func; cfg.free = NULL; + cfg.nentry = 0; test.ht = hash_tbl_create(&cfg); if (test.ht == NULL) |