diff options
author | Stefan Beller <sbeller@google.com> | 2017-01-09 11:46:18 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-01-10 11:51:19 -0800 |
commit | c4bfc7728b32294c33661c16a861419290549a2b (patch) | |
tree | 21c7c1286bacee1be88dfa9b64498f55b1f853b4 | |
parent | 30ac275b1c893697e25abefbd872de534bb8c046 (diff) | |
download | git-c4bfc7728b32294c33661c16a861419290549a2b.tar.gz |
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>
-rw-r--r-- | unpack-trees.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/unpack-trees.c b/unpack-trees.c index b6f0bc6d4c..9e48a4048d 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); |