mirror of
https://github.com/curl/curl.git
synced 2026-06-07 23:24:15 +03:00
test1275.pl: enable strict/warnings, fix them
This commit is contained in:
parent
d541cd3999
commit
5bd42f479f
1 changed files with 4 additions and 1 deletions
|
|
@ -23,6 +23,9 @@
|
|||
#
|
||||
###########################################################################
|
||||
|
||||
use strict;
|
||||
use warnings 'FATAL' => 'all';
|
||||
|
||||
my $root=$ARGV[0] || "..";
|
||||
|
||||
my @m = `git ls-files -- $root`;
|
||||
|
|
@ -45,7 +48,7 @@ sub checkfile {
|
|||
}
|
||||
open(my $fh, "<", "$f");
|
||||
my $l;
|
||||
my $prevl;
|
||||
my $prevl = '';
|
||||
my $ignore = 0;
|
||||
my $metadata = 0;
|
||||
while(<$fh>) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue