summaryrefslogtreecommitdiffstats
path: root/mgaapplet-upgrade-helper
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2013-05-16 09:45:42 +0000
committerThierry Vignaud <tv@mageia.org>2013-05-16 09:45:42 +0000
commitad7285abf5f82a40317be2acd56ad45ae1165f8f (patch)
treec300d4b64c52a5625847265f1ef6cbe71e011b8c /mgaapplet-upgrade-helper
parent6a3cae0ed76635003144287e475e3a0db078a5e2 (diff)
downloadmgaonline-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)
Diffstat (limited to 'mgaapplet-upgrade-helper')
-rwxr-xr-xmgaapplet-upgrade-helper3
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}}) {