Add noreturn attribute
authorPeter Eisentraut <peter_e@gmx.net>
Sun, 13 Sep 2015 22:47:56 +0000 (18:47 -0400)
committerPeter Eisentraut <peter_e@gmx.net>
Sun, 13 Sep 2015 22:47:56 +0000 (18:47 -0400)
per gcc -Wsuggest-attribute=noreturn

src/bin/pgbench/pgbench.c

index 30e8d2a3f2ec88d9b73c445b725d06c228e3ae5c..6894345e60312dc8b4e5ed4228c1e72fe32073d0 100644 (file)
@@ -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)