Silence warnings/errors from uninitialized variables

This commit is contained in:
Eric Miller
2008-07-29 03:23:35 +00:00
parent 6a1f6d43cf
commit 1eff8f8224
5 changed files with 18 additions and 19 deletions

View File

@@ -214,7 +214,7 @@ sub i_speed_admin {
my $partial = shift;
my %i_speed_admin;
my $p_port = $stack->p_port();
my $p_port = $stack->p_port() || {};
my %mapping = reverse %$p_port;
my $p_speed = $stack->p_speed( $mapping{$partial} );