summaryrefslogtreecommitdiff
path: root/src/solver.c
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2014-03-24 18:29:24 +0100
committerMichael Schroeder <mls@suse.de>2014-03-24 18:29:24 +0100
commit1c1cd3cd70b42fa97022b5817f6f051e15e6b148 (patch)
tree8ec896b61fbc4bc666eeb12cc5dad76ce93b4a11 /src/solver.c
parent006013eba67f4fad1477e042c2d05a49711c0218 (diff)
downloadlibsolv-1c1cd3cd70b42fa97022b5817f6f051e15e6b148.tar.gz
libsolv-1c1cd3cd70b42fa97022b5817f6f051e15e6b148.tar.bz2
libsolv-1c1cd3cd70b42fa97022b5817f6f051e15e6b148.zip
bring "removing unwanted" code in line with the other parts
should not make any difference, but it's cleaner anyway...
Diffstat (limited to 'src/solver.c')
-rw-r--r--src/solver.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/solver.c b/src/solver.c
index 98d8620..538b786 100644
--- a/src/solver.c
+++ b/src/solver.c
@@ -2660,6 +2660,12 @@ solver_run_sat(Solver *solv, int disablerules, int doweak)
if (level < olevel)
break;
}
+ if (p < solv->installed->end)
+ {
+ if (level == 0)
+ break;
+ continue; /* back to main loop */
+ }
}
if (solv->installed && solv->cleandepsmap.size)