summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlvaro Herrera2023-08-29 16:25:09 +0000
committerAlvaro Herrera2023-08-29 16:25:09 +0000
commit952db4979f9fea3fb4fd1eb07b310c85fdc2a8b9 (patch)
tree295663e40d6f85ca0b6d1efa784ee1de5fe98e73
parent8421f6bce16cd1d58106f47e48762319e7d22ab0 (diff)
Perl: Remove useless lines
-rw-r--r--src/bin/pgbench/t/002_pgbench_no_server.pl1
-rw-r--r--src/test/perl/PostgreSQL/Test/Cluster.pm1
2 files changed, 0 insertions, 2 deletions
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)
{