multi-pack-index: avoid dead store for struct progress
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>
This commit is contained in:
parent
07f967adb5
commit
17eeb067da
2
midx.c
2
midx.c
@ -941,7 +941,7 @@ static void midx_report(const char *fmt, ...)
|
|||||||
int verify_midx_file(const char *object_dir)
|
int verify_midx_file(const char *object_dir)
|
||||||
{
|
{
|
||||||
uint32_t i;
|
uint32_t i;
|
||||||
struct progress *progress = NULL;
|
struct progress *progress;
|
||||||
struct multi_pack_index *m = load_multi_pack_index(object_dir, 1);
|
struct multi_pack_index *m = load_multi_pack_index(object_dir, 1);
|
||||||
verify_midx_error = 0;
|
verify_midx_error = 0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user