32_SYSSTAT.pm: fixed uninitialized value warning

git-svn-id: https://svn.fhem.de/fhem/trunk@7484 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme1968
2015-01-09 15:55:08 +00:00
parent 0041396a0e
commit fa263e22c7

View File

@@ -459,7 +459,7 @@ SYSSTAT_readOIDs($$)
my @snmpoids = ();
my @nextid = keys %$response;
while ( $snmpoids && $nextid[0] =~ m/^$snmpoids/ ) {
while ( @nextid && $nextid[0] && $nextid[0] =~ m/^$snmpoids/ ) {
push( @snmpoids, $nextid[0] );
$response = $hash->{session}->get_next_request( $nextid[0] );