mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +03:00
Add noreturn attributes to some error reporting functions
This commit is contained in:
@@ -152,7 +152,7 @@ addlitchar(unsigned char ychar)
|
||||
appendStringInfoChar(&litbuf, ychar);
|
||||
}
|
||||
|
||||
void
|
||||
void __attribute__((noreturn))
|
||||
yyerror(const char *message)
|
||||
{
|
||||
ereport(ERROR,
|
||||
|
Reference in New Issue
Block a user