Skip to content

Commit fba2112

Browse files
committed
Silence compiler warning introduced in 1edb3b4
Reported-by: Richard Guo <guofenglinux@gmail.com> Discussion: https://postgr.es/m/CAMbWs48qEoe9Du5tuUxrkGQ6VC9oy+tQOORQ6jpob14-E1Z+jg@mail.gmail.com
1 parent 1d35f70 commit fba2112

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/utils/adt/jsonfuncs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2478,7 +2478,7 @@ jsonb_populate_record_valid(PG_FUNCTION_ARGS)
24782478
(void) populate_record_worker(fcinfo, "jsonb_populate_record",
24792479
false, true, (Node *) &escontext);
24802480

2481-
return BoolGetDatum(!SOFT_ERROR_OCCURRED(&escontext));
2481+
return BoolGetDatum(!escontext.error_occurred);
24822482
}
24832483

24842484
Datum

0 commit comments

Comments
 (0)