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>

Carlo Marcelo Arenas Belón committed Oct 18, 2018 at 11:46 UTC 07f967adb55fd2285f9c916b32731968e557acc3
1 file changed +1 -1
unpack-trees.c
+1 -1
@@ -380,7 +380,7 @@ static int check_updates(struct unpack_trees_options *o)
380 {
381 unsigned cnt = 0;
382 int errs = 0;
383 - struct progress *progress = NULL;
383 + struct progress *progress;
384 struct index_state *index = &o->result;
385 struct checkout state = CHECKOUT_INIT;
386 int i;