]> granicus.if.org Git - postgresql/commitdiff
Silence compiler warning about uninitialized variable, noted by
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Mon, 24 Jan 2011 06:28:00 +0000 (08:28 +0200)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Mon, 24 Jan 2011 06:28:35 +0000 (08:28 +0200)
Itagaki Takahiro

src/bin/pg_dump/pg_backup_archiver.c

index d001ff49d25eec91cf72bac337e5f3d913a84f6d..930ce9d29e3fc09d08058e8c87e14d2b229ee063 100644 (file)
@@ -1784,6 +1784,7 @@ _discoverArchiveFormat(ArchiveHandle *AH)
 #endif
                        die_horribly(AH, modulename, "directory \"%s\" does not appear to be a valid archive (\"toc.dat\" does not exist)\n",
                                                 AH->fSpec);
+                       fh = NULL; /* keep compiler quiet */
                }
                else
                {