Configure: clean away unused variables and double assignments
authorRichard Levitte <levitte@openssl.org>
Wed, 30 Jan 2019 18:25:01 +0000 (19:25 +0100)
committerRichard Levitte <levitte@openssl.org>
Thu, 31 Jan 2019 15:19:50 +0000 (16:19 +0100)
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8125)

Configure

index 63dcdc74d8fa629dcd3486278f5561f5a7cab1a4..8a178dfbd79fbe03cb0b55381f4d5a888d7be07e 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -1713,7 +1713,6 @@ if ($builder eq "unified") {
         my @libraries = ();
         my @engines = ();
         my @scripts = ();
-        my @intermediates = ();
 
         my %attributes = ();
         my %sources = ();
@@ -1803,7 +1802,6 @@ if ($builder eq "unified") {
                             $attributes{$p}->{$ak} = $av;
                         }
                     }
-                    push @programs, @p;
                 }
             },
             qr/^\s*LIBS(?:{([\w=]+(?:\s*,\s*[\w=]+)*)})?\s*=\s*(.*)\s*$/
@@ -1823,7 +1821,6 @@ if ($builder eq "unified") {
                             $attributes{$l}->{$ak} = $av;
                         }
                     }
-                    push @libraries, @l;
                 }
             },
             qr/^\s*ENGINES(?:{([\w=]+(?:\s*,\s*[\w=]+)*)})?\s*=\s*(.*)\s*$/
@@ -1843,7 +1840,6 @@ if ($builder eq "unified") {
                             $attributes{$e}->{$ak} = $av;
                         }
                     }
-                    push @engines, @e;
                 }
             },
             qr/^\s*SCRIPTS(?:{([\w=]+(?:\s*,\s*[\w=]+)*)})?\s*=\s*(.*)\s*$/
@@ -1863,7 +1859,6 @@ if ($builder eq "unified") {
                             $attributes{$s}->{$ak} = $av;
                         }
                     }
-                    push @scripts, @s;
                 }
             },