Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'js/test-hashmap-squelch-gcc'
author
Junio C Hamano
<gitster@pobox.com>
Mon, 22 Dec 2014 20:27:46 +0000
(12:27 -0800)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 22 Dec 2014 20:27:46 +0000
(12:27 -0800)
* js/test-hashmap-squelch-gcc:
test-hashmap: squelch gcc compiler warning
test-hashmap.c
patch
|
blob
|
history
raw
(from parent 1:
1cb4b3d
)
diff --git
a/test-hashmap.c
b/test-hashmap.c
index 07aa7ecdeede64477b424620425826b380bf895d..cc2891dd971edfa70733eb327d12ccb66fd09f3e 100644
(file)
--- 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: