aboutsummaryrefslogtreecommitdiff
path: root/src/bin/pg_basebackup/bbstreamer_zstd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/pg_basebackup/bbstreamer_zstd.c')
-rw-r--r--src/bin/pg_basebackup/bbstreamer_zstd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bin/pg_basebackup/bbstreamer_zstd.c b/src/bin/pg_basebackup/bbstreamer_zstd.c
index e2c76503cc7..a5167e9fea1 100644
--- a/src/bin/pg_basebackup/bbstreamer_zstd.c
+++ b/src/bin/pg_basebackup/bbstreamer_zstd.c
@@ -117,6 +117,7 @@ bbstreamer_zstd_compressor_new(bbstreamer *next, bc_specification *compress)
return &streamer->base;
#else
pg_fatal("this build does not support zstd compression");
+ return NULL; /* keep compiler quiet */
#endif
}
@@ -271,6 +272,7 @@ bbstreamer_zstd_decompressor_new(bbstreamer *next)
return &streamer->base;
#else
pg_fatal("this build does not support zstd compression");
+ return NULL; /* keep compiler quiet */
#endif
}