pgsql: Silence compiler warnings about SOFT_ERROR_OCCURRED usage.

Started by Tom Lane10 days ago1 messagescommitters
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

Silence compiler warnings about SOFT_ERROR_OCCURRED usage.

A few compilers warn about the unnecessary complexity of applying
SOFT_ERROR_OCCURRED() to the address of a local variable.
Fix it similarly to 2e123e3c2 and prior commits.

Per buildfarm.

Discussion: /messages/by-id/1830579.1793934447@sss.pgh.pa.us
Backpatch-through: 19

Branch
------
REL_19_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/52ecf2af068c11d9f74a26346371c8640ad31acd

Modified Files
--------------
src/backend/access/brin/brin_minmax_multi.c | 2 +-
src/backend/utils/adt/rangetypes.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)