From: Michael Tremer Date: Tue, 19 Mar 2024 15:34:51 +0000 (+0100) Subject: ovpnmain.cgi: Remove unused variable hack X-Git-Tag: v2.29-core197~25^2~195 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cac18c9ca30881f90074d6efcc4039a1348215e6;p=ipfire-2.x.git ovpnmain.cgi: Remove unused variable hack Signed-off-by: Michael Tremer --- diff --git a/html/cgi-bin/ovpnmain.cgi b/html/cgi-bin/ovpnmain.cgi index d486f9249..fafb8c495 100644 --- a/html/cgi-bin/ovpnmain.cgi +++ b/html/cgi-bin/ovpnmain.cgi @@ -44,10 +44,6 @@ require "${General::swroot}/location-functions.pl"; use warnings; use CGI::Carp 'fatalsToBrowser'; -#workaround to suppress a warning when a variable is used only once -my @dummy = ( ${Header::colourgreen}, ${Header::colourblue} ); -undef (@dummy); - my %color = (); my %mainsettings = (); &General::readhash("${General::swroot}/main/settings", \%mainsettings);