Silence some uninitialized variable warnings in discover

This commit is contained in:
Eric A. Miller
2014-02-03 20:17:46 -05:00
parent 30694c6f90
commit 529b797a8a
2 changed files with 4 additions and 4 deletions

View File

@@ -221,7 +221,7 @@ sub store_interfaces {
if (not $port) {
debug sprintf ' [%s] interfaces - ignoring %s (no port mapping)',
$device->ip, $port;
$device->ip, $entry;
next;
}
@@ -336,7 +336,7 @@ sub store_wireless {
if (not $port) {
debug sprintf ' [%s] wireless - ignoring %s (no port mapping)',
$device->ip, $port;
$device->ip, $iid;
next;
}
@@ -364,7 +364,7 @@ sub store_wireless {
if (not $port) {
debug sprintf ' [%s] wireless - ignoring %s (no port mapping)',
$device->ip, $port;
$device->ip, $entry;
next;
}