projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7e3ac2
)
Add noreturn attribute
author
Peter Eisentraut
<peter_e@gmx.net>
Sun, 13 Sep 2015 22:47:56 +0000
(18:47 -0400)
committer
Peter 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
patch
|
blob
|
blame
|
history
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)