From abeae4d3251181f1cedd15e4433e79406b766155 Mon Sep 17 00:00:00 2001 From: David Benjamin Date: Mon, 20 Jun 2016 15:05:06 -0400 Subject: [PATCH 1/1] Make arm-xlate.pl set use strict. It was already nearly clean. Just one undeclared variable. Reviewed-by: Andy Polyakov Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/1240) --- crypto/perlasm/arm-xlate.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crypto/perlasm/arm-xlate.pl b/crypto/perlasm/arm-xlate.pl index c00f54af1b..ca2f8b990b 100755 --- a/crypto/perlasm/arm-xlate.pl +++ b/crypto/perlasm/arm-xlate.pl @@ -6,6 +6,8 @@ # in the file LICENSE in the source distribution or at # https://www.openssl.org/source/license.html +use strict; + my $flavour = shift; my $output = shift; open STDOUT,">$output" || die "can't open $output: $!"; @@ -126,7 +128,7 @@ sub expand_line { return $line; } -while($line=<>) { +while(my $line=<>) { if ($line =~ m/^\s*(#|@|\/\/)/) { print $line; next; } -- 2.34.1