diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-12-22 12:27:46 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-12-22 12:27:46 -0800 |
commit | 6d43519a8ee8dd2d9b695733c819101dcc713683 (patch) | |
tree | 029ce04cd6cf7e828ac8492dfb081b08fbe125ae /test-hashmap.c | |
parent | 1cb4b3d380fe42a837adfb68126a312f605680f8 (diff) | |
parent | 3b9a2b07ef411d9f0066db2a5d98ff5a1f6669a5 (diff) | |
download | git-6d43519a8ee8dd2d9b695733c819101dcc713683.tar.gz |
Merge branch 'js/test-hashmap-squelch-gcc'
* js/test-hashmap-squelch-gcc:
test-hashmap: squelch gcc compiler warning
Diffstat (limited to 'test-hashmap.c')
-rw-r--r-- | test-hashmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test-hashmap.c b/test-hashmap.c index 07aa7ecdee..cc2891dd97 100644 --- a/test-hashmap.c +++ b/test-hashmap.c @@ -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: |