mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
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:
parent
afcd69d869
commit
1317dea18a
@ -278,6 +278,7 @@ ECMDDevice_Parse($$)
|
|||||||
my $hash= $defs{$d};
|
my $hash= $defs{$d};
|
||||||
if($hash->{TYPE} eq "ECMDDevice" && $hash->{IODev} eq $IOhash) {
|
if($hash->{TYPE} eq "ECMDDevice" && $hash->{IODev} eq $IOhash) {
|
||||||
my $classname= $hash->{fhem}{classname};
|
my $classname= $hash->{fhem}{classname};
|
||||||
|
next unless($classname);
|
||||||
my $classDef= $IOhash->{fhem}{classDefs}{$classname};
|
my $classDef= $IOhash->{fhem}{classDefs}{$classname};
|
||||||
#Debug " Checking device $d with class $classname...";
|
#Debug " Checking device $d with class $classname...";
|
||||||
next unless(defined($classDef->{readings}));
|
next unless(defined($classDef->{readings}));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user