Ugly, but I see why this is necessary. Reviewed-by: Peter Müller > Signed-off-by: Stefan Schantl > --- > config/firewall/rules.pl | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/config/firewall/rules.pl b/config/firewall/rules.pl > index 162781f7a..c0878059a 100644 > --- a/config/firewall/rules.pl > +++ b/config/firewall/rules.pl > @@ -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(); >