We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1cb4b3d + 3b9a2b0 commit 6d43519Copy full SHA for 6d43519
1 file changed
test-hashmap.c
@@ -47,7 +47,7 @@ static struct test_entry *alloc_test_entry(int hash, char *key, int klen,
47
48
static unsigned int hash(unsigned int method, unsigned int i, const char *key)
49
{
50
- unsigned int hash;
+ unsigned int hash = 0;
51
switch (method & 3)
52
53
case HASH_METHOD_FNV:
0 commit comments