diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-08-23 15:49:51 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-08-23 15:49:51 +0000 |
commit | ef796a3108b973a25c183d33a7607a84621dc756 (patch) | |
tree | eeca33cd2d4b2c4f217cf0133bc631f2b7e30886 /common/Wizcommon.pm | |
parent | de6e60435383dbebc186933d54b1b9bc68aba118 (diff) | |
download | drakwizard-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.pm | 4 |
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, |