projects
/
users
/
hanada
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf9aa49
)
Silence compiler
author
Alvaro Herrera
<
[email protected]
>
Thu, 2 Dec 2010 20:21:53 +0000
(17:21 -0300)
committer
Alvaro Herrera
<
[email protected]
>
Thu, 2 Dec 2010 20:45:12 +0000
(17:45 -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 a02908276da3bfb1013c37da726dfd7ff3a3e072..8c93d1e9187fc56f2526c81da9ddcc157758a4af 100644
(file)
--- a/
src/bin/pg_dump/compress_io.c
+++ b/
src/bin/pg_dump/compress_io.c
@@
-68,8
+68,11
@@
ParseCompressionOption(int compression, CompressionAlgorithm *alg, int *level)
else if (compression == 0)
*alg = COMPR_ALG_NONE;
else
+ {
die_horribly(NULL, modulename, "Invalid compression code: %d\n",
compression);
+ *alg = COMPR_ALG_NONE; /* keep compiler quiet */
+ }
/* The level is just the passed-in value. */
if (level)