Skip to content

Commit c4bfc77

Browse files
stefanbellergitster
authored andcommitted
unpack-trees: remove unneeded continue
The continue is the last statement in the loop, so not needed. This situation arose in 700e66d (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>
1 parent 30ac275 commit c4bfc77

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

unpack-trees.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,6 @@ static int check_updates(struct unpack_trees_options *o)
253253
display_progress(progress, ++cnt);
254254
if (o->update && !o->dry_run)
255255
unlink_entry(ce);
256-
continue;
257256
}
258257
}
259258
remove_marked_cache_entries(index);

0 commit comments

Comments
 (0)