Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 56d77c9

Browse files
committed
Silence compiler warning about uninitialized variable, noted by
Itagaki Takahiro
1 parent 41611f1 commit 56d77c9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/bin/pg_dump/pg_backup_archiver.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1784,6 +1784,7 @@ _discoverArchiveFormat(ArchiveHandle *AH)
17841784
#endif
17851785
die_horribly(AH, modulename, "directory \"%s\" does not appear to be a valid archive (\"toc.dat\" does not exist)\n",
17861786
AH->fSpec);
1787+
fh = NULL; /* keep compiler quiet */
17871788
}
17881789
else
17891790
{

0 commit comments

Comments
 (0)