提交 abeae4d3 编写于 作者: D David Benjamin 提交者: Rich Salz

Make arm-xlate.pl set use strict.

It was already nearly clean. Just one undeclared variable.
Reviewed-by: NAndy Polyakov <appro@openssl.org>
Reviewed-by: NRich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1240)
上级 aa951ef3
...@@ -6,6 +6,8 @@ ...@@ -6,6 +6,8 @@
# in the file LICENSE in the source distribution or at # in the file LICENSE in the source distribution or at
# https://www.openssl.org/source/license.html # https://www.openssl.org/source/license.html
use strict;
my $flavour = shift; my $flavour = shift;
my $output = shift; my $output = shift;
open STDOUT,">$output" || die "can't open $output: $!"; open STDOUT,">$output" || die "can't open $output: $!";
...@@ -126,7 +128,7 @@ sub expand_line { ...@@ -126,7 +128,7 @@ sub expand_line {
return $line; return $line;
} }
while($line=<>) { while(my $line=<>) {
if ($line =~ m/^\s*(#|@|\/\/)/) { print $line; next; } if ($line =~ m/^\s*(#|@|\/\/)/) { print $line; next; }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册