mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
rules.pl: Add workaround to hide a warning about an only once used variable.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org> Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
This commit is contained in:
committed by
Peter Müller
parent
50e4305955
commit
0564b0c7c9
@@ -109,6 +109,10 @@ my $POLICY_INPUT_ACTION = $fwoptions{"FWPOLICY2"};
|
||||
my $POLICY_FORWARD_ACTION = $fwoptions{"FWPOLICY"};
|
||||
my $POLICY_OUTPUT_ACTION = $fwoptions{"FWPOLICY1"};
|
||||
|
||||
#workaround to suppress a warning when a variable is used only once
|
||||
my @dummy = ( $Location::Functions::ipset_db_directory );
|
||||
undef (@dummy);
|
||||
|
||||
# MAIN
|
||||
&main();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user