Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
multi-pack-index: avoid dead store for struct progress
author
Carlo Marcelo Arenas Belón
<carenas@gmail.com>
Thu, 18 Oct 2018 18:59:20 +0000
(11:59 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Fri, 19 Oct 2018 02:16:53 +0000
(11:16 +0900)
it is initialized unconditionally by a call to start_progress
below.
Signed-off-by: Carlo Marcelo Arenas Belón <carenas@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
midx.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
07f967a
)
diff --git
a/midx.c
b/midx.c
index ea2f3ffe2e21700038eabf00aa975e5cc111a47f..4fac0cd08ab9b2a78096c57518d2ea8cd1db96a2 100644
(file)
--- a/
midx.c
+++ b/
midx.c
@@
-941,7
+941,7
@@
static void midx_report(const char *fmt, ...)
int verify_midx_file(const char *object_dir)
{
uint32_t i;
- struct progress *progress
= NULL
;
+ struct progress *progress;
struct multi_pack_index *m = load_multi_pack_index(object_dir, 1);
verify_midx_error = 0;