summaryrefslogtreecommitdiffstats
path: root/urpm/media.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-09-03 13:01:03 +0000
committerThierry Vignaud <tv@mandriva.org>2009-09-03 13:01:03 +0000
commitcba0acbac7628de5d4aa8cd74dfaf2c02a098aeb (patch)
tree143a3529f4d842e65c5994bf2045f1c28b8a4c9e /urpm/media.pm
parentcfe9f8dd7e1c8bd6cf48141cb4f34644dd37b0b4 (diff)
downloadurpmi-cba0acbac7628de5d4aa8cd74dfaf2c02a098aeb.tar
urpmi-cba0acbac7628de5d4aa8cd74dfaf2c02a098aeb.tar.gz
urpmi-cba0acbac7628de5d4aa8cd74dfaf2c02a098aeb.tar.bz2
urpmi-cba0acbac7628de5d4aa8cd74dfaf2c02a098aeb.tar.xz
urpmi-cba0acbac7628de5d4aa8cd74dfaf2c02a098aeb.zip
(_cleanup_mediacfg_dir) kill unused variable
Diffstat (limited to 'urpm/media.pm')
-rw-r--r--urpm/media.pm2
1 files changed, 0 insertions, 2 deletions
diff --git a/urpm/media.pm b/urpm/media.pm
index 7f06d4ab..5d935590 100644
--- a/urpm/media.pm
+++ b/urpm/media.pm
@@ -1051,8 +1051,6 @@ sub _remove_medium_from_mediacfg {
sub _cleanup_mediacfg_dir {
my ($urpm, $to_remove) = @_;
- my @removed_mediacfg;
-
foreach my $medium (@$to_remove) {
$medium->{mediacfg} or next;
#this should never happen but dirname(undef) returns . on which we call