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

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@1719 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2012-07-11 14:46:37 +00:00
parent ec9b219ca7
commit dfda0a7320

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})