avoid uninitialized messages if the selectlist entry has no name any more

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@1719 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2012-07-11 14:46:37 +00:00
parent 0fac6853a6
commit f60fca0cf5

View File

@ -441,7 +441,6 @@ while (1) {
# reported by select, but is used by unix too, to check if the device is
# attached again.
foreach my $p (keys %selectlist) {
next if(!$selectlist{$p});
next if(!$selectlist{$p} || !$selectlist{$p}{NAME}); # due to rereadcfg/del
CallFn($selectlist{$p}{NAME}, "ReadFn", $selectlist{$p})