git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e7e3ac2)
Add noreturn attribute
2015年9月13日 22:47:56 +0000 (18:47 -0400)
2015年9月13日 22:47:56 +0000 (18:47 -0400)
per gcc -Wsuggest-attribute=noreturn


diff --git a/src/bin/pgbench/pgbench.c b/src/bin/pgbench/pgbench.c
index 30e8d2a3f2ec88d9b73c445b725d06c228e3ae5c..6894345e60312dc8b4e5ed4228c1e72fe32073d0 100644 (file)
--- 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)
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /