summaryrefslogtreecommitdiffstats
path: root/common/Wizcommon.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-08-23 15:49:51 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-08-23 15:49:51 +0000
commitef796a3108b973a25c183d33a7607a84621dc756 (patch)
treeeeca33cd2d4b2c4f217cf0133bc631f2b7e30886 /common/Wizcommon.pm
parentde6e60435383dbebc186933d54b1b9bc68aba118 (diff)
downloaddrakwizard-ef796a3108b973a25c183d33a7607a84621dc756.tar
drakwizard-ef796a3108b973a25c183d33a7607a84621dc756.tar.gz
drakwizard-ef796a3108b973a25c183d33a7607a84621dc756.tar.bz2
drakwizard-ef796a3108b973a25c183d33a7607a84621dc756.tar.xz
drakwizard-ef796a3108b973a25c183d33a7607a84621dc756.zip
prevent perl_checker to complain about missing argument we just do not
use anyway
Diffstat (limited to 'common/Wizcommon.pm')
-rw-r--r--common/Wizcommon.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/Wizcommon.pm b/common/Wizcommon.pm
index 6ade7ec8..36f9c53b 100644
--- a/common/Wizcommon.pm
+++ b/common/Wizcommon.pm
@@ -25,11 +25,11 @@ use MDK::Wizard::IFCFG;
my $net;
sub check_dhcp {
- $net->is_dhcp() and return 'dhcp_warning';
+ $net->is_dhcp and return 'dhcp_warning';
}
sub new {
- my ($class, $conf) = @_;
+ my ($class, $_conf) = @_;
$net = new MDK::Wizard::IFCFG;
bless {
net => $net,