mirror of
https://github.com/git/git.git
synced 2024-06-07 01:26:13 +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:
commit
6d43519a8e
|
@ -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)
|
static unsigned int hash(unsigned int method, unsigned int i, const char *key)
|
||||||
{
|
{
|
||||||
unsigned int hash;
|
unsigned int hash = 0;
|
||||||
switch (method & 3)
|
switch (method & 3)
|
||||||
{
|
{
|
||||||
case HASH_METHOD_FNV:
|
case HASH_METHOD_FNV:
|
||||||
|
|
Loading…
Reference in New Issue