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

@@ -188,7 +188,7 @@ sub interfaces {
)
)
{
$vlan_index = $passport->rc_vlan_if();
$vlan_index = $passport->rc_vlan_if() || {};
%reverse_vlan = reverse %$vlan_index;
$vlan_id = $passport->rc_vlan_id();
}