Skip to content
Snippets Groups Projects
Commit 1b6dabc4 authored by Peter Eisentraut's avatar Peter Eisentraut
Browse files

Avoid compiler warning when building without zlib

parent 5e1365a9
Branches
Tags
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment