diff --git a/src/backend/replication/basebackup_target.c b/src/backend/replication/basebackup_target.c index d93f5e02db..d8b7cb3243 100644 --- a/src/backend/replication/basebackup_target.c +++ b/src/backend/replication/basebackup_target.c @@ -144,6 +144,9 @@ BaseBackupGetTargetHandle(char *target, char *target_detail) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), errmsg("unrecognized target: \"%s\"", target))); + + /* keep compiler quiet */ + return NULL; } /*