1
0
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:
Peter Eisentraut
2012-01-31 20:47:43 +02:00
parent 5ae88c65da
commit 88a6ac9f93
4 changed files with 4 additions and 4 deletions

View File

@ -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);