From f1230fb5fc77a47fd7964bb3724db352aea4a476 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Scharfe?= Date: Mon, 25 Dec 2017 18:47:51 +0100 Subject: revision: remove the unused flag leak_pending Signed-off-by: Rene Scharfe Signed-off-by: Junio C Hamano --- revision.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'revision.c') diff --git a/revision.c b/revision.c index d167223e69..8b14142bb1 100644 --- a/revision.c +++ b/revision.c @@ -2850,8 +2850,7 @@ int prepare_revision_walk(struct rev_info *revs) } } } - if (!revs->leak_pending) - object_array_clear(&old_pending); + object_array_clear(&old_pending); /* Signal whether we need per-parent treesame decoration */ if (revs->simplify_merges || -- cgit v1.2.3