2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 09:16:53 +00:00

fixed some "uninitialized string" warnings

git-svn-id: https://svn.fhem.de/fhem/trunk@1702 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
borisneubert 2012-07-08 08:28:37 +00:00
parent ac1eaa9afe
commit 2b6e3b924b
2 changed files with 3 additions and 1 deletions

View File

@ -216,6 +216,7 @@ RSS_color {
sub
RSS_itemText {
my ($S,$x,$y,$text,%params)= @_;
return unless(defined($text));
($x,$y)= RSS_xy($S,$x,$y);
$S->stringFT(RSS_color($S,$params{rgb}),$params{font},$params{pt},0,$x,$y,$text);
}

View File

@ -56,6 +56,7 @@ sub addproperty {
my ($key,$parts)= split(";", $property,2);
#main::debug "key= $key parts= $parts";
$parts= "" unless(defined($parts));
$parameter= "" unless(defined($parameter));
$self->{properties}{$key}= {
PARTS => "$parts",
VALUE => "$parameter"
@ -336,7 +337,7 @@ sub fromVEvent {
# weekly
#
if($freq eq "WEEKLY") {
my @weekdays= split(",",$r{"BYDAY"});
# my @weekdays= split(",",$r{"BYDAY"});# BYDAY is not always set
}
}