diff options
author | Michael Schroeder <mls@suse.de> | 2014-03-24 18:29:24 +0100 |
---|---|---|
committer | Michael Schroeder <mls@suse.de> | 2014-03-24 18:29:24 +0100 |
commit | 1c1cd3cd70b42fa97022b5817f6f051e15e6b148 (patch) | |
tree | 8ec896b61fbc4bc666eeb12cc5dad76ce93b4a11 /src/solver.c | |
parent | 006013eba67f4fad1477e042c2d05a49711c0218 (diff) | |
download | libsolv-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.c | 6 |
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) |