2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-10 08:04:00 +00:00

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:
justme-1968 2015-01-09 15:55:08 +00:00
parent 63db797091
commit 2661c359f8

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] );