Coverity scan results

Mitchell Blank Jr mitch-jemalloc-discuss at bodyfour.com
Sat Oct 11 22:03:01 PDT 2014


> >>>>    Calling "malloc_init" without checking return value (as is done elsewhere 10 out of 11 times).
> > 1978            malloc_init();
>
> There are no actionable consequences to this call failing.

I'm pretty sure if you explicitly ignore the return value of the call
with a cast-to-void Coverity will be satisfied.  It also nicely
documents that you're intentionally ignoring it.

-Mitch


More information about the jemalloc-discuss mailing list