From: Richard Levitte Date: Wed, 30 Jan 2019 18:25:01 +0000 (+0100) Subject: Configure: clean away unused variables and double assignments X-Git-Tag: openssl-3.0.0-alpha1~2592 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a17089b0d750732d1b9d19ad924b3f8a2d7c3111;p=oweals%2Fopenssl.git Configure: clean away unused variables and double assignments Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/8125) --- diff --git a/Configure b/Configure index 63dcdc74d8..8a178dfbd7 100755 --- 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; } },