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=9d051723f624e7cf57f06bb9628c3aaf8f9bcb9f;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 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();