1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-05-13 04:06:10 +02:00

Merge branch 'js/test-hashmap-squelch-gcc'

* js/test-hashmap-squelch-gcc:
  test-hashmap: squelch gcc compiler warning
This commit is contained in:
Junio C Hamano 2014-12-22 12:27:46 -08:00
commit 6d43519a8e

View 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: