summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-01-10 09:34:17 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-01-10 09:34:17 +0000
commit206ef17270c65de8b4ba2282e98360014ce49b98 (patch)
tree5a6efe12586b7ed6215f7b2ab6460f3ffa1218f9 /urpm
parent5e623cfe8dcb53ef64b72cf4c4c1951d4474d16c (diff)
downloadurpmi-206ef17270c65de8b4ba2282e98360014ce49b98.tar
urpmi-206ef17270c65de8b4ba2282e98360014ce49b98.tar.gz
urpmi-206ef17270c65de8b4ba2282e98360014ce49b98.tar.bz2
urpmi-206ef17270c65de8b4ba2282e98360014ce49b98.tar.xz
urpmi-206ef17270c65de8b4ba2282e98360014ce49b98.zip
Remove unused vars
Diffstat (limited to 'urpm')
-rw-r--r--urpm/args.pm4
1 files changed, 1 insertions, 3 deletions
diff --git a/urpm/args.pm b/urpm/args.pm
index d81e28a1..685acd5b 100644
--- a/urpm/args.pm
+++ b/urpm/args.pm
@@ -56,9 +56,7 @@ my %options_spec = (
'sortmedia|sort-media=s' => \$::sortmedia,
'searchmedia|search-media=s' => \$::searchmedia,
'synthesis=s' => \$::synthesis,
- auto => sub {
- $urpm->{options}{auto} = $::auto = 1;
- },
+ auto => sub { $urpm->{options}{auto} = 1 },
'allow-medium-change' => \$::allow_medium_change,
'auto-select' => \$::auto_select,
'no-remove|no-uninstall' => \$::no_remove,