Skip to content

Commit 952db49

Browse files
committed
Perl: Remove useless lines
1 parent 8421f6b commit 952db49

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

src/bin/pgbench/t/002_pgbench_no_server.pl

-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ sub pgbench_scripts
3838

3939
my ($opts, $stat, $out, $err, $name, $files) = @_;
4040
my @cmd = ('pgbench', split /\s+/, $opts);
41-
my @filenames = ();
4241
if (defined $files)
4342
{
4443
for my $fn (sort keys %$files)

src/test/perl/PostgreSQL/Test/Cluster.pm

-1
Original file line numberDiff line numberDiff line change
@@ -2140,7 +2140,6 @@ sub _pgbench_make_files
21402140
# cleanup file weight
21412141
$filename =~ s/\@\d+$//;
21422142

2143-
#push @filenames, $filename;
21442143
# filenames are expected to be unique on a test
21452144
if (-e $filename)
21462145
{

0 commit comments

Comments
 (0)