mirror of
https://github.com/postgres/postgres.git
synced 2026-07-16 05:02:57 -04:00
Fix Perl warning
Use of uninitialized value $content in concatenation (.) or string
This commit is contained in:
parent
01f1f789df
commit
1421e8f3b6
1 changed files with 1 additions and 1 deletions
|
|
@ -564,7 +564,7 @@ sub string_replace_file
|
|||
{
|
||||
my ($filename, $find, $replace) = @_;
|
||||
open(my $in, '<', $filename);
|
||||
my $content;
|
||||
my $content = '';
|
||||
while (<$in>)
|
||||
{
|
||||
$_ =~ s/$find/$replace/;
|
||||
|
|
|
|||
Loading…
Reference in a new issue