Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit b5217d6

Browse files
committed
Add noreturn attribute
per gcc -Wsuggest-attribute=noreturn
1 parent e7e3ac2 commit b5217d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/pgbench/pgbench.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -2198,7 +2198,7 @@ parseQuery(Command *cmd, const char *raw_sql)
21982198
return true;
21992199
}
22002200

2201-
void
2201+
void pg_attribute_noreturn()
22022202
syntax_error(const char *source, const int lineno,
22032203
const char *line, const char *command,
22042204
const char *msg, const char *more, const int column)

0 commit comments

Comments
 (0)