unpack-trees: avoid dead store for struct progress
it is unconditionally initialized a few lines 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
a4b8ab5363
commit
07f967adb5
@ -380,7 +380,7 @@ static int check_updates(struct unpack_trees_options *o)
|
||||
{
|
||||
unsigned cnt = 0;
|
||||
int errs = 0;
|
||||
struct progress *progress = NULL;
|
||||
struct progress *progress;
|
||||
struct index_state *index = &o->result;
|
||||
struct checkout state = CHECKOUT_INIT;
|
||||
int i;
|
||||
|
Loading…
Reference in New Issue
Block a user