From: Michael Tremer Date: Tue, 19 Mar 2024 15:34:51 +0000 (+0100) Subject: ovpnmain.cgi: Remove unused variable hack X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4efb2cc47c0f7c06c12a30f1fde5c65e40ab252c;p=people%2Fms%2Fipfire-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 d9e456756..da634e769 100755 --- 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);