aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2011-05-29 01:03:38 +0300
committerPeter Eisentraut <peter_e@gmx.net>2011-05-29 01:18:16 +0300
commit1b6dabc452b9357e39b63a94c109e2293f13a555 (patch)
tree9b6148dc1beda9b113cb42e2b889384e65cb54c5 /src
parent5e1365a9650678a531106120e40676a9417971f1 (diff)
downloadpostgresql-1b6dabc452b9357e39b63a94c109e2293f13a555.tar.gz
postgresql-1b6dabc452b9357e39b63a94c109e2293f13a555.zip
Avoid compiler warning when building without zlib
Diffstat (limited to 'src')
-rw-r--r--src/bin/pg_dump/compress_io.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/pg_dump/compress_io.c b/src/bin/pg_dump/compress_io.c
index 66d24197253..8540a75d113 100644
--- a/src/bin/pg_dump/compress_io.c
+++ b/src/bin/pg_dump/compress_io.c
@@ -535,6 +535,7 @@ cfopen_write(const char *path, const char *mode, int compression)
free(fname);
#else
die_horribly(NULL, modulename, "not built with zlib support\n");
+ fp = NULL; /* keep compiler quiet */
#endif
}
return fp;