From d0083c1d2a21f2e5c8f341891cca4fad5a616758 Mon Sep 17 00:00:00 2001 From: Robert Haas Date: Wed, 16 Mar 2022 09:26:48 -0400 Subject: [PATCH] Suppress compiler warnings. Michael Paquier Discussion: http://postgr.es/m/YjGvq4zPDT6j15go@paquier.xyz --- src/backend/replication/basebackup_target.c | 3 +++ 1 file changed, 3 insertions(+) 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; } /*