test1707.pl: initialize $error

This commit is contained in:
Viktor Szakats 2025-07-10 00:03:02 +02:00
parent a0bbb9776b
commit 0f7a83d7ee
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201

View file

@ -98,7 +98,7 @@ while(<R>) {
}
close(R);
my $error;
my $error = 0;
if(scalar(@curlout) != scalar(@txtout)) {
printf "curl -h $opt is %d lines, $txt says %d lines\n",
scalar(@curlout), scalar(@txtout);