diff options
author | Thierry Vignaud <tv@mageia.org> | 2013-05-16 09:45:42 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2013-05-16 09:45:42 +0000 |
commit | ad7285abf5f82a40317be2acd56ad45ae1165f8f (patch) | |
tree | c300d4b64c52a5625847265f1ef6cbe71e011b8c | |
parent | 6a3cae0ed76635003144287e475e3a0db078a5e2 (diff) | |
download | mgaonline-ad7285abf5f82a40317be2acd56ad45ae1165f8f.tar mgaonline-ad7285abf5f82a40317be2acd56ad45ae1165f8f.tar.gz mgaonline-ad7285abf5f82a40317be2acd56ad45ae1165f8f.tar.bz2 mgaonline-ad7285abf5f82a40317be2acd56ad45ae1165f8f.tar.xz mgaonline-ad7285abf5f82a40317be2acd56ad45ae1165f8f.zip |
no need to initialize variables
(should have been caught by perl_checker but it didn't)
-rwxr-xr-x | mgaapplet-upgrade-helper | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mgaapplet-upgrade-helper b/mgaapplet-upgrade-helper index 1da77e30..34d598f3 100755 --- a/mgaapplet-upgrade-helper +++ b/mgaapplet-upgrade-helper @@ -238,8 +238,7 @@ packages as well?).")) exit(1); } - my $nonfree = 0; - my $tainted = 0; + my ($nonfree, $tainted); log::explanations("Checking for enabled Nonfree/Tainted"); foreach my $media (@{$urpm->{media}}) { |