mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-21 08:29:39 +08:00
Avoid compiler warning when building without zlib
This commit is contained in:
parent
5e1365a965
commit
1b6dabc452
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user