mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 06:39:11 +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:
parent
c855baa211
commit
f91abc569f
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user