]> git.ipfire.org Git - people/ms/ipfire-2.x.git/commitdiff
ovpnmain.cgi: Remove unused variable hack
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 19 Mar 2024 15:34:51 +0000 (16:34 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 2 Jun 2025 19:44:59 +0000 (19:44 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
html/cgi-bin/ovpnmain.cgi

index d486f9249da032c952917a0e3e8cbebf77397b38..fafb8c495dbf4d721e8e34b5932695d89ae7b30f 100644 (file)
@@ -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);