Merge branch 'jh/memihash-opt'
authorJunio C Hamano <gitster@pobox.com>
Fri, 5 Jan 2018 21:28:11 +0000 (13:28 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 5 Jan 2018 21:28:11 +0000 (13:28 -0800)
Squelch compiler warning.

* jh/memihash-opt:
t/helper/test-lazy-name-hash: fix compilation

t/helper/test-lazy-init-name-hash.c
index 6368a89345e1783ec975c5f6c2c2c66b7ddb9dcb..297fb01d61eded5d83d02175199efcd217376738 100644 (file)
@@ -112,7 +112,7 @@ static void analyze_run(void)
 {
        uint64_t t1s, t1m, t2s, t2m;
        int cache_nr_limit;
-       int nr_threads_used;
+       int nr_threads_used = 0;
        int i;
        int nr;