2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00

fhem.pl: remove warning (Forum #127028)

git-svn-id: https://svn.fhem.de/fhem/trunk@25896 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2022-03-30 07:18:07 +00:00
parent c855baa211
commit f91abc569f

View File

@ -6402,7 +6402,7 @@ CheckRegexp($$)
my $warn;
my $osig = $SIG{__WARN__};
$SIG{__WARN__} = sub { $warn = @_[0]};
$SIG{__WARN__} = sub { $warn = $_[0]};
eval { "Hallo" =~ m/^$re$/ };
$SIG{__WARN__} = $osig;