Merge branch 'maint'
[gitweb.git] / test-hashmap.c
index 07aa7ecdeede64477b424620425826b380bf895d..cc2891dd971edfa70733eb327d12ccb66fd09f3e 100644 (file)
@@ -47,7 +47,7 @@ static struct test_entry *alloc_test_entry(int hash, char *key, int klen,
 
 static unsigned int hash(unsigned int method, unsigned int i, const char *key)
 {
-       unsigned int hash;
+       unsigned int hash = 0;
        switch (method & 3)
        {
        case HASH_METHOD_FNV: