Missing return value checks in jsonfuncs.c - Mailing list pgsql-hackers

From Michael Paquier
Subject Missing return value checks in jsonfuncs.c
Date
Msg-id CAB7nPqQcj3hU9P7a6VUHoMepJkOYQrjXnT1g2f7Qy_CQ0Q8G_g@mail.gmail.com
Whole thread Raw
List pgsql-hackers
Hi all,

Coverity is pointing out that a couple of return value checks are
missing for JsonbIteratorNext in jsonfuncs.c. Patch is attached to
append (void) to them, as far as I am guessing we want skip the value
iterated on.
Regards,
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Reducing ClogControlLock contention
Next
From: Simon Riggs
Date:
Subject: Re: Reducing ClogControlLock contention