From 1b6dabc452b9357e39b63a94c109e2293f13a555 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Sun, 29 May 2011 01:03:38 +0300 Subject: [PATCH] Avoid compiler warning when building without zlib --- src/bin/pg_dump/compress_io.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bin/pg_dump/compress_io.c b/src/bin/pg_dump/compress_io.c index 66d2419725..8540a75d11 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;