From: Alvaro Herrera Date: Tue, 29 Aug 2023 16:25:09 +0000 (+0200) Subject: Perl: Remove useless lines X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=952db4979f9fea3fb4fd1eb07b310c85fdc2a8b9;p=users%2Frhaas%2Fpostgres.git Perl: Remove useless lines --- diff --git a/src/bin/pgbench/t/002_pgbench_no_server.pl b/src/bin/pgbench/t/002_pgbench_no_server.pl index 0ec54fbb03..ffc8c772ae 100644 --- a/src/bin/pgbench/t/002_pgbench_no_server.pl +++ b/src/bin/pgbench/t/002_pgbench_no_server.pl @@ -38,7 +38,6 @@ sub pgbench_scripts my ($opts, $stat, $out, $err, $name, $files) = @_; my @cmd = ('pgbench', split /\s+/, $opts); - my @filenames = (); if (defined $files) { for my $fn (sort keys %$files) diff --git a/src/test/perl/PostgreSQL/Test/Cluster.pm b/src/test/perl/PostgreSQL/Test/Cluster.pm index 227c34ab4d..2a478ba6ed 100644 --- a/src/test/perl/PostgreSQL/Test/Cluster.pm +++ b/src/test/perl/PostgreSQL/Test/Cluster.pm @@ -2140,7 +2140,6 @@ sub _pgbench_make_files # cleanup file weight $filename =~ s/\@\d+$//; - #push @filenames, $filename; # filenames are expected to be unique on a test if (-e $filename) {