mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-16 16:56:04 +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:
parent
0228f0cbb9
commit
e42453c887
@ -584,7 +584,7 @@ sub RSS_cleanLayout($) {
|
||||
|
||||
sub RSS_analyzePerl($) {
|
||||
my ($expr) = @_;
|
||||
return AnalyzePerlCommand( undef, $expr, 1 );
|
||||
return AnalyzePerlCommand( "", $expr, 1 ); # specials have been previously stored
|
||||
}
|
||||
|
||||
sub RSS_evalLayout($$@) {
|
||||
@ -610,7 +610,7 @@ sub RSS_evalLayout($$@) {
|
||||
}
|
||||
}
|
||||
}
|
||||
EvalSpecials( undef, %count );
|
||||
EvalSpecials( "", %count );
|
||||
|
||||
# second pass
|
||||
# create actual layout
|
||||
@ -844,7 +844,7 @@ sub RSS_evalLayout($$@) {
|
||||
last;
|
||||
}
|
||||
#Debug "label $def hit count " . $count{ '$' . $def };
|
||||
EvalSpecials(undef, %count);
|
||||
EvalSpecials("", %count);
|
||||
}
|
||||
elsif ( $cmd eq "goto" ) {
|
||||
my ( $label, $if, $condition ) = split( "[ \t]+", $def, 3 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user