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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy