mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-21 16:32:59 +02:00
guardian.cgi: Suppress warnings for ${Header::colourgreen} variable.
Reference #10748. Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
This commit is contained in:
committed by
Stefan Schantl
parent
6a153ecdac
commit
b1597f879c
@@ -31,7 +31,11 @@ require "${General::swroot}/lang.pl";
|
||||
require "${General::swroot}/header.pl";
|
||||
|
||||
#workaround to suppress a warning when a variable is used only once
|
||||
my @dummy = ( ${Header::colouryellow} );
|
||||
my @dummy = (
|
||||
${Header::colourred},
|
||||
${Header::colourgreen}
|
||||
);
|
||||
|
||||
undef (@dummy);
|
||||
|
||||
my $string=();
|
||||
|
||||
Reference in New Issue
Block a user