From 7f4a7af2fd0991dc3ef14a63c614a7ad17b56c79 Mon Sep 17 00:00:00 2001 From: Alvaro Herrera Date: Thu, 2 Dec 2010 17:21:53 -0300 Subject: [PATCH] Silence compiler --- src/bin/pg_dump/compress_io.c | 3 +++ 1 file changed, 3 insertions(+) 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) -- 2.40.0