From 88a6ac9f93b138d39d08b9882b377539edf985f4 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Tue, 31 Jan 2012 20:47:43 +0200 Subject: pg_dump: Add GCC noreturn attribute to appropriate functions This is a small help to the compiler and static analyzers. --- src/bin/pg_dump/dumputils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/bin/pg_dump/dumputils.h') diff --git a/src/bin/pg_dump/dumputils.h b/src/bin/pg_dump/dumputils.h index b4cf730b4a8..de1536baaa0 100644 --- a/src/bin/pg_dump/dumputils.h +++ b/src/bin/pg_dump/dumputils.h @@ -57,7 +57,7 @@ extern void write_msg(const char *modulename, const char *fmt,...) extern void vwrite_msg(const char *modulename, const char *fmt, va_list ap) __attribute__((format(PG_PRINTF_ATTRIBUTE, 2, 0))); extern void exit_horribly(const char *modulename, const char *fmt,...) - __attribute__((format(PG_PRINTF_ATTRIBUTE, 2, 3))); + __attribute__((format(PG_PRINTF_ATTRIBUTE, 2, 3), noreturn)); extern void set_section (const char *arg, int *dumpSections); #endif /* DUMPUTILS_H */ -- cgit v1.2.3