mirror of
https://github.com/postgres/postgres.git
synced 2025-06-23 14:01:44 +03:00
pg_dump: Add GCC noreturn attribute to appropriate functions
This is a small help to the compiler and static analyzers.
This commit is contained in:
@ -123,7 +123,7 @@ static int RestoringToDB(ArchiveHandle *AH);
|
||||
static void dump_lo_buf(ArchiveHandle *AH);
|
||||
static void vdie_horribly(ArchiveHandle *AH, const char *modulename,
|
||||
const char *fmt, va_list ap)
|
||||
__attribute__((format(PG_PRINTF_ATTRIBUTE, 3, 0)));
|
||||
__attribute__((format(PG_PRINTF_ATTRIBUTE, 3, 0), noreturn));
|
||||
|
||||
static void dumpTimestamp(ArchiveHandle *AH, const char *msg, time_t tim);
|
||||
static void SetOutput(ArchiveHandle *AH, char *filename, int compression);
|
||||
|
Reference in New Issue
Block a user