diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2010-12-02 17:21:53 -0300 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2010-12-02 17:45:12 -0300 |
commit | 7f4a7af2fd0991dc3ef14a63c614a7ad17b56c79 (patch) | |
tree | 92634d735d4ef01d28120e903178f4cfa206da8c | |
parent | bf9aa490db24b2334b3595ee33653bf2fe39208c (diff) | |
download | postgresql-7f4a7af2fd0991dc3ef14a63c614a7ad17b56c79.tar.gz postgresql-7f4a7af2fd0991dc3ef14a63c614a7ad17b56c79.zip |
Silence compiler
-rw-r--r-- | src/bin/pg_dump/compress_io.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bin/pg_dump/compress_io.c b/src/bin/pg_dump/compress_io.c index a02908276da..8c93d1e9187 100644 --- 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) |