suppress an "undefined" warning

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@6497 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
borisneubert 2014-09-01 19:04:19 +00:00
parent afcd69d869
commit 1317dea18a

View File

@ -278,6 +278,7 @@ ECMDDevice_Parse($$)
my $hash= $defs{$d};
if($hash->{TYPE} eq "ECMDDevice" && $hash->{IODev} eq $IOhash) {
my $classname= $hash->{fhem}{classname};
next unless($classname);
my $classDef= $IOhash->{fhem}{classDefs}{$classname};
#Debug " Checking device $d with class $classname...";
next unless(defined($classDef->{readings}));