From: Stefan Schantl Date: Sat, 15 Apr 2023 13:18:08 +0000 (+0200) Subject: rules.pl: Drop obsolete dummy/workaround code X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fheads%2Fipblocklist-rework;p=people%2Fstevee%2Fipfire-2.x.git rules.pl: Drop obsolete dummy/workaround code Signed-off-by: Stefan Schantl --- diff --git a/config/firewall/rules.pl b/config/firewall/rules.pl index 273175ae54..8e2e7e8986 100644 --- a/config/firewall/rules.pl +++ b/config/firewall/rules.pl @@ -133,10 +133,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();