8000 Avoid compiler warning when building without zlib · postgrespro/postgres_cluster@1b6dabc · GitHub
[go: up one dir, main page]

Skip to content

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

8000
Appearance settings

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

Lines changed: 1 addition & 0 deletions
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)
0