Skip to content

Commit d0083c1

Browse files
committed
Suppress compiler warnings.
Michael Paquier Discussion: http://postgr.es/m/YjGvq4zPDT6j15go@paquier.xyz
1 parent 3ac577b commit d0083c1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/backend/replication/basebackup_target.c

+3
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,9 @@ BaseBackupGetTargetHandle(char *target, char *target_detail)
144144
ereport(ERROR,
145145
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
146146
errmsg("unrecognized target: \"%s\"", target)));
147+
148+
/* keep compiler quiet */
149+
return NULL;
147150
}
148151

149152
/*

0 commit comments

Comments
 (0)