Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge branch 'js/test-hashmap-squelch-gcc'
* js/test-hashmap-squelch-gcc:
  test-hashmap: squelch gcc compiler warning
  • Loading branch information
Junio C Hamano committed Dec 22, 2014
2 parents 1cb4b3d + 3b9a2b0 commit 6d43519
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test-hashmap.c
Expand Up @@ -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:
Expand Down

0 comments on commit 6d43519

Please sign in to comment.