Re: Coverity Unchecked Return Value Issues

2021-02-08 Thread Gedare Bloom
On Mon, Feb 8, 2021 at 1:53 PM Joel Sherrill wrote: > > > On Mon, Feb 8, 2021 at 2:18 PM Joel Sherrill wrote: > >> >> >> On Mon, Feb 8, 2021 at 1:53 PM Gedare Bloom wrote: >> >>> >>> >>> On Mon, Feb 8, 2021 at 11:59 AM Joel Sherrill wrote: >>> On Mon, Feb 8, 2021 at 12:39 PM Ged

Re: Coverity Unchecked Return Value Issues

2021-02-08 Thread Joel Sherrill
On Mon, Feb 8, 2021 at 2:18 PM Joel Sherrill wrote: > > > On Mon, Feb 8, 2021 at 1:53 PM Gedare Bloom wrote: > >> >> >> On Mon, Feb 8, 2021 at 11:59 AM Joel Sherrill wrote: >> >>> >>> >>> On Mon, Feb 8, 2021 at 12:39 PM Gedare Bloom wrote: >>> On Mon, Feb 8, 2021 at 11:24 AM Joe

Re: Coverity Unchecked Return Value Issues

2021-02-08 Thread Joel Sherrill
On Mon, Feb 8, 2021 at 1:53 PM Gedare Bloom wrote: > > > On Mon, Feb 8, 2021 at 11:59 AM Joel Sherrill wrote: > >> >> >> On Mon, Feb 8, 2021 at 12:39 PM Gedare Bloom wrote: >> >>> >>> >>> On Mon, Feb 8, 2021 at 11:24 AM Joel Sherrill wrote: >>> Hi There are more than a couple of

Re: Coverity Unchecked Return Value Issues

2021-02-08 Thread Gedare Bloom
On Mon, Feb 8, 2021 at 11:59 AM Joel Sherrill wrote: > > > On Mon, Feb 8, 2021 at 12:39 PM Gedare Bloom wrote: > >> >> >> On Mon, Feb 8, 2021 at 11:24 AM Joel Sherrill wrote: >> >>> Hi >>> >>> There are more than a couple of these. in our set of CIDs. I am >>> wondering if these can be addresse

Re: Coverity Unchecked Return Value Issues

2021-02-08 Thread Joel Sherrill
On Mon, Feb 8, 2021 at 12:39 PM Gedare Bloom wrote: > > > On Mon, Feb 8, 2021 at 11:24 AM Joel Sherrill wrote: > >> Hi >> >> There are more than a couple of these. in our set of CIDs. I am wondering >> if these can be addressed with a macro like this: >> >> #define _IGNORED_RETURN_STATUS(_status

Re: Coverity Unchecked Return Value Issues

2021-02-08 Thread Gedare Bloom
On Mon, Feb 8, 2021 at 11:24 AM Joel Sherrill wrote: > Hi > > There are more than a couple of these. in our set of CIDs. I am wondering > if these can be addressed with a macro like this: > > #define _IGNORED_RETURN_STATUS(_status, _ok) \ > do { \ > _Assert((_status) == (_ok)); \ > Can you