summaryrefslogtreecommitdiffstats
path: root/perl-install/printerdrake.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-07-31 11:59:03 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-07-31 11:59:03 +0000
commitaaff6dff3ac0e9b19810fc1bc836f30c19918e5d (patch)
tree24d563bb50162681d48011773d41f501c720d888 /perl-install/printerdrake.pm
parent8eb45d87d70be8b1802f5f6c79cf53b3099b0596 (diff)
downloaddrakx-backup-do-not-use-aaff6dff3ac0e9b19810fc1bc836f30c19918e5d.tar
drakx-backup-do-not-use-aaff6dff3ac0e9b19810fc1bc836f30c19918e5d.tar.gz
drakx-backup-do-not-use-aaff6dff3ac0e9b19810fc1bc836f30c19918e5d.tar.bz2
drakx-backup-do-not-use-aaff6dff3ac0e9b19810fc1bc836f30c19918e5d.tar.xz
drakx-backup-do-not-use-aaff6dff3ac0e9b19810fc1bc836f30c19918e5d.zip
make new perl_checker happy
Diffstat (limited to 'perl-install/printerdrake.pm')
-rw-r--r--perl-install/printerdrake.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/printerdrake.pm b/perl-install/printerdrake.pm
index ba3f7bd60..8900e193a 100644
--- a/perl-install/printerdrake.pm
+++ b/perl-install/printerdrake.pm
@@ -224,7 +224,7 @@ Do you really want to get your printers auto-detected?"),
_("Do auto-detection"));
$do_auto_detect = ($res eq _("Do auto-detection"));
}
- my @parport = ();
+ my @parport;
my $menuentries = {};
$in->set_help('setupLocal') if $::isInstall;
if ($do_auto_detect) {
@@ -1497,7 +1497,7 @@ sub setup_options {
# range check of the numerical options.
my $windowtitle = "$printer->{currentqueue}{make} $printer->{currentqueue}{model}";
if ($::expert) {
- my $driver = undef;
+ my $driver;
if ($driver = $printer->{currentqueue}{driver}) {
if ($printer->{currentqueue}{foomatic}) {
if ($driver eq 'Postscript') {
@@ -2042,7 +2042,7 @@ sub security_check {
$in->set_help('securityCheck') if $::isInstall;
# Get security level
- my $security = undef;
+ my $security;
if ($::isInstall) {
$security = $in->{security};
} else {