unpack-trees: remove unneeded continue
The continue is the last statement in the loop, so not needed. This situation arose in 700e66d66 (2010-07-30, unpack-trees: let read-tree -u remove index entries outside sparse area) when statements after the continue were removed. Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Stefan Beller committed
Jan 9, 2017 at 11:46 UTC
c4bfc7728b32294c33661c16a861419290549a2b
1 file changed
-1
unpack-trees.c
-1
@@ -253,7 +253,6 @@ static int check_updates(struct unpack_trees_options *o)
253
display_progress(progress, ++cnt);
254
if (o->update && !o->dry_run)
255
unlink_entry(ce);
256
- continue;
256
}
257
}
258
remove_marked_cache_entries(index);