]> git.ipfire.org Git - people/stevee/ipfire-2.x.git/commitdiff
rules.pl: Drop obsolete dummy/workaround code
authorStefan Schantl <stefan.schantl@ipfire.org>
Sat, 15 Apr 2023 13:18:08 +0000 (15:18 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sun, 3 Mar 2024 11:56:03 +0000 (12:56 +0100)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
config/firewall/rules.pl

index 5b476cb33e92afe268beab028363b25977d0d574..a5b2a4fa5a43ca6382414c67e700747877685f5d 100644 (file)
@@ -134,10 +134,6 @@ my $POLICY_OUTPUT_ACTION   = $fwoptions{"FWPOLICY1"};
 &register_set_loader("Location::Functions::load_location", @locations);
 &register_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();