#1330 [NEW]: unused variable in php-src/pear/PEAR/Command/Install.php

From: Date: Mon, 03 May 2004 09:05:05 +0000
Subject: #1330 [NEW]: unused variable in php-src/pear/PEAR/Command/Install.php
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-28716@lists.php.net to get a copy of this message
From: kameshj at fastmail dot fm Operating system: linux PHP version: 5.0.0RC2 (Release Candidate 2) PHP Bug Type: Bug System Bug description: unused variable in php-src/pear/PEAR/Command/Install.php Description: ------------ In php-src/pear/PEAR/Command/Install.php there is a variable bn which is no more used in the code Pasting the patch that removes the unwanted variable. Index: Install.php =================================================================== RCS file: /repository/php-src/pear/PEAR/Command/Install.php,v retrieving revision 1.52 diff -u -r1.52 Install.php --- Install.php 8 Jan 2004 17:33:13 -0000 1.52 +++ Install.php 27 Apr 2004 11:18:22 -0000 @@ -303,7 +303,6 @@ $downloaded = $this->downloader->getDownloadedPackages(); $this->installer->sortPkgDeps($downloaded); foreach ($downloaded as $pkg) { - $bn = basename($pkg['file']); $info = $this->installer->install($pkg['file'], $options, $this->config); if (is_array($info)) { if ($this->config->get('verbose') > 0) { -- Edit bug report at http://pear.php.net/bugs/bug.php?id=1330&edit=1 --

« previous php.pear.dev (#28716) next »