git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3ac577b)
Suppress compiler warnings.
2022年3月16日 13:26:48 +0000 (09:26 -0400)
2022年3月16日 13:26:48 +0000 (09:26 -0400)
Michael Paquier

Discussion: http://postgr.es/m/YjGvq4zPDT6j15go@paquier.xyz


diff --git a/src/backend/replication/basebackup_target.c b/src/backend/replication/basebackup_target.c
index d93f5e02dbba8a4078189dfbc2741a59c3b4fe74..d8b7cb3243693a5977a602faad8f1201b6104c4b 100644 (file)
--- 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;
}
/*
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /