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

index 273175ae5454dcd5d86c69f4ec017dd7241253b3..8e2e7e898639565b14b0754fcf2d895fcce2b783 100644 (file)
@@ -133,10 +133,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();