projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e1365a
)
Avoid compiler warning when building without zlib
author
Peter Eisentraut
<peter_e@gmx.net>
Sat, 28 May 2011 22:03:38 +0000
(
01:03
+0300)
committer
Peter Eisentraut
<peter_e@gmx.net>
Sat, 28 May 2011 22:18:16 +0000
(
01:18
+0300)
src/bin/pg_dump/compress_io.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/pg_dump/compress_io.c
b/src/bin/pg_dump/compress_io.c
index 66d2419725348c1b2895a7e3d65d7ed2ab87cc02..8540a75d1135d2ee00138dc4301c3e34dd6fa9cd 100644
(file)
--- a/
src/bin/pg_dump/compress_io.c
+++ b/
src/bin/pg_dump/compress_io.c
@@
-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;