2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-15 04:20:56 +00:00

98_HTTPMOD.pm: minor fix of uninitialized variable

git-svn-id: https://svn.fhem.de/fhem/trunk@7313 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
ststrobel 2014-12-23 09:37:35 +00:00
parent c6c14eb989
commit 1e67bc9ce4

View File

@ -35,6 +35,8 @@
# an neues HttpUtils angepasst # an neues HttpUtils angepasst
# 2014-12-05 definierte Attribute werden zu userattr der Instanz hinzugefügt # 2014-12-05 definierte Attribute werden zu userattr der Instanz hinzugefügt
# use $hash->{HTTPHEADER} or $hash->{httpheader} # use $hash->{HTTPHEADER} or $hash->{httpheader}
# 2014-12-22 Warnung in Set korrigiert
#
package main; package main;
@ -280,6 +282,7 @@ sub HTTPMOD_Set($@)
# @a is an array with DeviceName, SetName, Rest of Set Line # @a is an array with DeviceName, SetName, Rest of Set Line
my ($name, $setName, $setVal) = @a; my ($name, $setName, $setVal) = @a;
my (%rmap, $setNum, $setOpt, $setList, $rawVal); my (%rmap, $setNum, $setOpt, $setList, $rawVal);
$setList = "";
Log3 $name, 5, "$name: set called with $setName " . ($setVal ? $setVal : ""); Log3 $name, 5, "$name: set called with $setName " . ($setVal ? $setVal : "");