No warnings if state is empty.

This commit is contained in:
hjp 2008-04-30 12:09:41 +00:00
parent bbb0b7f6dd
commit 64863e9553
1 changed files with 1 additions and 0 deletions

View File

@ -26,6 +26,7 @@ for (;;) {
}
print "\n\n";
for my $host (@ARGV) {
no warnings 'uninitialized';
printf("%-*s : %s\n", $len, $host, $state{$host});
}
}