aboutsummaryrefslogtreecommitdiff
path: root/src/bin/pg_dump/pg_backup_archiver.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2012-01-31 20:47:43 +0200
committerPeter Eisentraut <peter_e@gmx.net>2012-01-31 20:49:10 +0200
commit88a6ac9f93b138d39d08b9882b377539edf985f4 (patch)
tree7e5af284235303616e3f0292eeef336e3b527b9d /src/bin/pg_dump/pg_backup_archiver.c
parent5ae88c65da7d893e304a51bfc57b46d8b7653bd0 (diff)
downloadpostgresql-88a6ac9f93b138d39d08b9882b377539edf985f4.tar.gz
postgresql-88a6ac9f93b138d39d08b9882b377539edf985f4.zip
pg_dump: Add GCC noreturn attribute to appropriate functions
This is a small help to the compiler and static analyzers.
Diffstat (limited to 'src/bin/pg_dump/pg_backup_archiver.c')
-rw-r--r--src/bin/pg_dump/pg_backup_archiver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/pg_dump/pg_backup_archiver.c b/src/bin/pg_dump/pg_backup_archiver.c
index 234e50fb734..d55e0940f59 100644
--- a/src/bin/pg_dump/pg_backup_archiver.c
+++ b/src/bin/pg_dump/pg_backup_archiver.c
@@ -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);