summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2011-01-24 08:28:00 +0200
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2011-01-24 08:28:35 +0200
commit56d77c9e56adbd856beba00af3dc607687d30198 (patch)
treea81b3e182596a77af55aafac9634412452ec9fc1
parent41611f16e933dafa9c3ae0477f89537ea1459eb6 (diff)
Silence compiler warning about uninitialized variable, noted by
Itagaki Takahiro
-rw-r--r--src/bin/pg_dump/pg_backup_archiver.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/pg_dump/pg_backup_archiver.c b/src/bin/pg_dump/pg_backup_archiver.c
index d001ff49d25..930ce9d29e3 100644
--- a/src/bin/pg_dump/pg_backup_archiver.c
+++ b/src/bin/pg_dump/pg_backup_archiver.c
@@ -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
{