The branch master has been updated
       via  abeae4d3251181f1cedd15e4433e79406b766155 (commit)
      from  aa951ef3d745aa0c32b984fd9be2cc21382b97f6 (commit)


- Log -----------------------------------------------------------------
commit abeae4d3251181f1cedd15e4433e79406b766155
Author: David Benjamin <[email protected]>
Date:   Mon Jun 20 15:05:06 2016 -0400

    Make arm-xlate.pl set use strict.
    
    It was already nearly clean. Just one undeclared variable.
    
    Reviewed-by: Andy Polyakov <[email protected]>
    Reviewed-by: Rich Salz <[email protected]>
    (Merged from https://github.com/openssl/openssl/pull/1240)

-----------------------------------------------------------------------

Summary of changes:
 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 c00f54a..ca2f8b9 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; }
 
_____
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits

Reply via email to