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

* js/test-hashmap-squelch-gcc:
  test-hashmap: squelch gcc compiler warning
maint
Junio C Hamano 2014-12-22 12:27:46 -08:00
commit 6d43519a8e
1 changed files with 1 additions and 1 deletions

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: