diff --git a/src/backend/replication/basebackup_gzip.c b/src/backend/replication/basebackup_gzip.c index 1e58382fa08..b66d3da7a3f 100644 --- a/src/backend/replication/basebackup_gzip.c +++ b/src/backend/replication/basebackup_gzip.c @@ -66,6 +66,7 @@ bbsink_gzip_new(bbsink *next, int compresslevel) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), errmsg("gzip compression is not supported by this build"))); + return NULL; /* keep compiler quiet */ #else bbsink_gzip *sink;