From c4bfc7728b32294c33661c16a861419290549a2b Mon Sep 17 00:00:00 2001 From: Stefan Beller Date: Mon, 9 Jan 2017 11:46:18 -0800 Subject: 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 Signed-off-by: Junio C Hamano --- unpack-trees.c | 1 - 1 file changed, 1 deletion(-) (limited to 'unpack-trees.c') diff --git a/unpack-trees.c b/unpack-trees.c index b6f0bc6d4..9e48a4048 100644 --- a/unpack-trees.c +++ b/unpack-trees.c @@ -253,7 +253,6 @@ static int check_updates(struct unpack_trees_options *o) display_progress(progress, ++cnt); if (o->update && !o->dry_run) unlink_entry(ce); - continue; } } remove_marked_cache_entries(index); -- cgit v1.2.1