From: Michael Schroeder Date: Wed, 27 Feb 2013 14:08:49 +0000 (+0100) Subject: fix test so that we no longer flatten when there's just one job X-Git-Tag: BASE-SuSE-Code-12_3-Branch~85 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec154d733c327e2ec7d0f664765172fcbe318d01;p=thirdparty%2Flibsolv.git fix test so that we no longer flatten when there's just one job --- diff --git a/src/selection.c b/src/selection.c index ffd2d0a7..c586a2cd 100644 --- a/src/selection.c +++ b/src/selection.c @@ -121,7 +121,7 @@ selection_flatten(Pool *pool, Queue *selection) { Queue q; int i; - if (selection->count <= 1) + if (selection->count <= 2) return; for (i = 0; i < selection->count; i += 2) if ((selection->elements[i] & SOLVER_SELECTMASK) == SOLVER_SOLVABLE_ALL)