summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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