зеркало из https://github.com/microsoft/git.git
Merge branch 'js/test-hashmap-squelch-gcc'
* js/test-hashmap-squelch-gcc: test-hashmap: squelch gcc compiler warning
This commit is contained in:
Коммит
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:
|
||||||
|
|
Загрузка…
Ссылка в новой задаче