2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-09 07:44:19 +00:00

98_Siro.pm:Fix Use of uninitialized value

git-svn-id: https://svn.fhem.de/fhem/trunk@15944 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
Byte09 2018-01-21 08:52:49 +00:00
parent bd0f8c8e62
commit 9a11375a43

View File

@ -743,6 +743,7 @@ sub Siro_Attr(@)
}
my $oldstate =$hash->{helper}{position};
if(!defined $oldstate){$oldstate=0};
my $newState = $oldstate;
my $updateState;
Log3 $hash, 3, "Siro_Attr: state old -> $oldstate new -> $newState";