]> granicus.if.org Git - postgresql/commitdiff
Silence compiler
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Thu, 2 Dec 2010 20:21:53 +0000 (17:21 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Thu, 2 Dec 2010 20:45:12 +0000 (17:45 -0300)
src/bin/pg_dump/compress_io.c

index a02908276da3bfb1013c37da726dfd7ff3a3e072..8c93d1e9187fc56f2526c81da9ddcc157758a4af 100644 (file)
@@ -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)