bring "removing unwanted" code in line with the other parts
authorMichael Schroeder <mls@suse.de>
Mon, 24 Mar 2014 17:29:24 +0000 (18:29 +0100)
committerMichael Schroeder <mls@suse.de>
Mon, 24 Mar 2014 17:29:24 +0000 (18:29 +0100)
should not make any difference, but it's cleaner anyway...

src/solver.c

index 98d8620..538b786 100644 (file)
@@ -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)