From 6dd361d7022a67b9943aaa5492c8a8c6fb9d49d3 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Fri, 15 Apr 2016 12:38:27 -0700 Subject: SQUASH??? --- bisect.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bisect.c') diff --git a/bisect.c b/bisect.c index e583852f27..f7e9cd23f7 100644 --- a/bisect.c +++ b/bisect.c @@ -412,11 +412,11 @@ static inline int all_parents_are_visited(struct commit *merge) static struct commit *extract_merge_to_queue(struct commit_list **merges) { - assert(merges); - struct commit_list *p, *q; struct commit *found; + assert(merges); + /* find a merge that is ready, i.e. all parents have been computed */ for (q = NULL, p = *merges; p && !all_parents_are_visited(p->item); q = p, p = p->next); -- cgit v1.2.1