From cba0acbac7628de5d4aa8cd74dfaf2c02a098aeb Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 3 Sep 2009 13:01:03 +0000 Subject: (_cleanup_mediacfg_dir) kill unused variable --- urpm/media.pm | 2 -- 1 file changed, 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 -- cgit v1.2.1