Content-Length: 257477 | pFad | http://github.com/postgrespro/postgres/commit/6ee01e25b7f79bdf835d12927b306ad922c55fd3

94 Fix Perl warning · postgrespro/postgres@6ee01e2 · GitHub
Skip to content

Commit 6ee01e2

Browse files
committed
Fix Perl warning
Use of uninitialized value $content in concatenation (.) or string
1 parent 5edf438 commit 6ee01e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ sub string_replace_file
564564
{
565565
my ($filename, $find, $replace) = @_;
566566
open(my $in, '<', $filename);
567-
my $content;
567+
my $content = '';
568568
while (<$in>)
569569
{
570570
$_ =~ s/$find/$replace/;

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/6ee01e25b7f79bdf835d12927b306ad922c55fd3

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy