diff options
author | Thierry Vignaud <tv@mandriva.org> | 2009-09-03 13:01:03 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2009-09-03 13:01:03 +0000 |
commit | cba0acbac7628de5d4aa8cd74dfaf2c02a098aeb (patch) | |
tree | 143a3529f4d842e65c5994bf2045f1c28b8a4c9e /urpm/media.pm | |
parent | cfe9f8dd7e1c8bd6cf48141cb4f34644dd37b0b4 (diff) | |
download | urpmi-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.pm | 2 |
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 |