[DependencyResolver] removed unused local variables and fixed some wrong local variable names in Solver class.
parent
747abf6843
commit
9acbb0c026
|
@ -1078,9 +1078,7 @@ class Solver
|
||||||
protected function createTransaction()
|
protected function createTransaction()
|
||||||
{
|
{
|
||||||
$transaction = array();
|
$transaction = array();
|
||||||
|
|
||||||
$installMeansUpdateMap = array();
|
$installMeansUpdateMap = array();
|
||||||
$ignoreRemoveMap = array();
|
|
||||||
|
|
||||||
foreach ($this->decisionQueue as $i => $literal) {
|
foreach ($this->decisionQueue as $i => $literal) {
|
||||||
$package = $literal->getPackage();
|
$package = $literal->getPackage();
|
||||||
|
@ -1739,7 +1737,7 @@ class Solver
|
||||||
|
|
||||||
$level = 1;
|
$level = 1;
|
||||||
$systemLevel = $level + 1;
|
$systemLevel = $level + 1;
|
||||||
$minimizationsteps = 0;
|
$minimizationSteps = 0;
|
||||||
$installedPos = 0;
|
$installedPos = 0;
|
||||||
|
|
||||||
$this->installedPackages = $this->installed->getPackages();
|
$this->installedPackages = $this->installed->getPackages();
|
||||||
|
@ -1930,7 +1928,7 @@ class Solver
|
||||||
$installedPos = 0;
|
$installedPos = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
$systemlevel = $level + 1;
|
$systemLevel = $level + 1;
|
||||||
|
|
||||||
if ($pass < 2) {
|
if ($pass < 2) {
|
||||||
// had trouble => retry
|
// had trouble => retry
|
||||||
|
|
Loading…
Reference in New Issue