2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-22 08:11:44 +00:00

02_RSS: change first parameter of EvalSpecials from undef to "" to mute warnings

git-svn-id: https://svn.fhem.de/fhem/trunk@16812 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
borisneubert 2018-06-03 19:52:27 +00:00
parent 0228f0cbb9
commit e42453c887

View File

@ -584,7 +584,7 @@ sub RSS_cleanLayout($) {
sub RSS_analyzePerl($) { sub RSS_analyzePerl($) {
my ($expr) = @_; my ($expr) = @_;
return AnalyzePerlCommand( undef, $expr, 1 ); return AnalyzePerlCommand( "", $expr, 1 ); # specials have been previously stored
} }
sub RSS_evalLayout($$@) { sub RSS_evalLayout($$@) {
@ -610,7 +610,7 @@ sub RSS_evalLayout($$@) {
} }
} }
} }
EvalSpecials( undef, %count ); EvalSpecials( "", %count );
# second pass # second pass
# create actual layout # create actual layout
@ -844,7 +844,7 @@ sub RSS_evalLayout($$@) {
last; last;
} }
#Debug "label $def hit count " . $count{ '$' . $def }; #Debug "label $def hit count " . $count{ '$' . $def };
EvalSpecials(undef, %count); EvalSpecials("", %count);
} }
elsif ( $cmd eq "goto" ) { elsif ( $cmd eq "goto" ) {
my ( $label, $if, $condition ) = split( "[ \t]+", $def, 3 ); my ( $label, $if, $condition ) = split( "[ \t]+", $def, 3 );