From ef796a3108b973a25c183d33a7607a84621dc756 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Sat, 23 Aug 2003 15:49:51 +0000 Subject: prevent perl_checker to complain about missing argument we just do not use anyway --- common/Wizcommon.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common') 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, -- cgit v1.2.1