1
0
Fork 0

[DependencyResolver] removed unused local variables and fixed some wrong local variable names in Solver class.

pull/199/head
Hugo Hamon 2012-01-11 09:11:27 +01:00
parent 747abf6843
commit 9acbb0c026
1 changed files with 2 additions and 4 deletions

View File

@ -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