mirror of
https://github.com/postgres/postgres.git
synced 2026-02-18 18:25:17 -05:00
Fix compiler warning in unistr function
Some compilers are not aware that elog/ereport ERROR does not return.
This commit is contained in:
parent
ff53d7b159
commit
efd9d92bb3
1 changed files with 1 additions and 0 deletions
|
|
@ -6589,4 +6589,5 @@ invalid_pair:
|
|||
ereport(ERROR,
|
||||
(errcode(ERRCODE_SYNTAX_ERROR),
|
||||
errmsg("invalid Unicode surrogate pair")));
|
||||
PG_RETURN_NULL(); /* keep compiler quiet */
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue