Skip to content

Commit

Permalink
Merge pull request #565 from larskanis/fix-noreturn-warn
Browse files Browse the repository at this point in the history
Avoid compiler warning
  • Loading branch information
larskanis authored Apr 8, 2024
2 parents 21285ba + cba9951 commit e3cc7cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ext/pg_connection.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ static VALUE pgconn_async_flush(VALUE self);
#ifdef __GNUC__
__attribute__((format(printf, 3, 4)))
#endif
static void
pg_raise_conn_error( VALUE klass, VALUE self, const char *format, ...)
NORETURN( static void
pg_raise_conn_error( VALUE klass, VALUE self, const char *format, ...))
{
VALUE msg, error;
va_list ap;
Expand Down

0 comments on commit e3cc7cf

Please sign in to comment.