]> granicus.if.org Git - postgresql/commitdiff
Avoid compiler warning when building without zlib
authorPeter Eisentraut <peter_e@gmx.net>
Sat, 28 May 2011 22:03:38 +0000 (01:03 +0300)
committerPeter Eisentraut <peter_e@gmx.net>
Sat, 28 May 2011 22:18:16 +0000 (01:18 +0300)
src/bin/pg_dump/compress_io.c

index 66d2419725348c1b2895a7e3d65d7ed2ab87cc02..8540a75d1135d2ee00138dc4301c3e34dd6fa9cd 100644 (file)
@@ -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;