From: Alvaro Herrera Date: Thu, 2 Dec 2010 20:21:53 +0000 (-0300) Subject: Silence compiler X-Git-Tag: REL9_1_ALPHA3~105 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7f4a7af2fd0991dc3ef14a63c614a7ad17b56c79;p=postgresql Silence compiler --- diff --git a/src/bin/pg_dump/compress_io.c b/src/bin/pg_dump/compress_io.c index a02908276d..8c93d1e918 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)