Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 1b6dabc

Browse files
committed
Avoid compiler warning when building without zlib
1 parent 5e1365a commit 1b6dabc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/bin/pg_dump/compress_io.c

+1
Original file line numberDiff line numberDiff line change
@@ -535,6 +535,7 @@ cfopen_write(const char *path, const char *mode, int compression)
535535
free(fname);
536536
#else
537537
die_horribly(NULL, modulename, "not built with zlib support\n");
538+
fp = NULL; /* keep compiler quiet */
538539
#endif
539540
}
540541
return fp;

0 commit comments

Comments
 (0)