Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2014-12-22 23:27:46 +0300
committerJunio C Hamano <gitster@pobox.com>2014-12-22 23:27:46 +0300
commit6d43519a8ee8dd2d9b695733c819101dcc713683 (patch)
tree029ce04cd6cf7e828ac8492dfb081b08fbe125ae /test-hashmap.c
parent1cb4b3d380fe42a837adfb68126a312f605680f8 (diff)
parent3b9a2b07ef411d9f0066db2a5d98ff5a1f6669a5 (diff)
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.c2
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: