From 9d051723f624e7cf57f06bb9628c3aaf8f9bcb9f Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Sat, 15 Apr 2023 15:18:08 +0200 Subject: [PATCH] rules.pl: Drop obsolete dummy/workaround code Signed-off-by: Stefan Schantl --- config/firewall/rules.pl | 4 ---- 1 file changed, 4 deletions(-) diff --git a/config/firewall/rules.pl b/config/firewall/rules.pl index 5b476cb33..a5b2a4fa5 100644 --- a/config/firewall/rules.pl +++ b/config/firewall/rules.pl @@ -134,10 +134,6 @@ my $POLICY_OUTPUT_ACTION = $fwoptions{"FWPOLICY1"}; ®ister_set_loader("Location::Functions::load_location", @locations); ®ister_set_loader("IPblocklist::Functions::load_blocklist", @blocklists); -#workaround to suppress a warning when a variable is used only once -my @dummy = ( $Location::Functions::ipset_db_directory ); -undef (@dummy); - # MAIN &main(); -- 2.39.5