mirror of
https://github.com/postgres/postgres.git
synced 2025-07-05 07:21:24 +03:00
Fix compiler warning in unistr function
Some compilers are not aware that elog/ereport ERROR does not return.
This commit is contained in:
@ -6589,4 +6589,5 @@ invalid_pair:
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_SYNTAX_ERROR),
|
||||
errmsg("invalid Unicode surrogate pair")));
|
||||
PG_RETURN_NULL(); /* keep compiler quiet */
|
||||
}
|
||||
|
Reference in New Issue
Block a user