mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +03:00
Mark some more functions as pg_attribute_noreturn().
Doing this suppresses Coverity warnings and might allow improved code in some cases. The prospects of that are not so bright as to warrant back-patching, though. Michael Paquier, per Coverity
This commit is contained in:
@@ -132,7 +132,7 @@ static PQExpBuffer recoveryconfcontents = NULL;
|
||||
|
||||
/* Function headers */
|
||||
static void usage(void);
|
||||
static void disconnect_and_exit(int code);
|
||||
static void disconnect_and_exit(int code) pg_attribute_noreturn();
|
||||
static void verify_dir_is_empty_or_create(char *dirname, bool *created, bool *found);
|
||||
static void progress_report(int tablespacenum, const char *filename, bool force);
|
||||
|
||||
|
@@ -64,7 +64,7 @@ static XLogRecPtr output_fsync_lsn = InvalidXLogRecPtr;
|
||||
|
||||
static void usage(void);
|
||||
static void StreamLogicalLog(void);
|
||||
static void disconnect_and_exit(int code);
|
||||
static void disconnect_and_exit(int code) pg_attribute_noreturn();
|
||||
static bool flushAndSendFeedback(PGconn *conn, TimestampTz *now);
|
||||
static void prepareToTerminate(PGconn *conn, XLogRecPtr endpos,
|
||||
bool keepalive, XLogRecPtr lsn);
|
||||
|
Reference in New Issue
Block a user