Commit efd9d92b authored by David Rowley's avatar David Rowley

Fix compiler warning in unistr function

Some compilers are not aware that elog/ereport ERROR does not return.
parent ff53d7b1
......@@ -6589,4 +6589,5 @@ invalid_pair:
ereport(ERROR,
(errcode(ERRCODE_SYNTAX_ERROR),
errmsg("invalid Unicode surrogate pair")));
PG_RETURN_NULL(); /* keep compiler quiet */
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment