Avoid compiler warning when building without zlib

This commit is contained in:
Peter Eisentraut 2011-05-29 01:03:38 +03:00
parent 5e1365a965
commit 1b6dabc452

View 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;