From b5217d696833b15ed5d3c5e858e7f20836defa95 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Sun, 13 Sep 2015 18:47:56 -0400 Subject: [PATCH] Add noreturn attribute per gcc -Wsuggest-attribute=noreturn --- src/bin/pgbench/pgbench.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/pgbench/pgbench.c b/src/bin/pgbench/pgbench.c index 30e8d2a3f2..6894345e60 100644 --- a/src/bin/pgbench/pgbench.c +++ b/src/bin/pgbench/pgbench.c @@ -2198,7 +2198,7 @@ parseQuery(Command *cmd, const char *raw_sql) return true; } -void +void pg_attribute_noreturn() syntax_error(const char *source, const int lineno, const char *line, const char *command, const char *msg, const char *more, const int column) -- 2.39.5