Re: [PATCH] range-diff: fix some 'hdr-check' and sparse warnings
Jeff King <peff@peff.net> writes:
> Other than that, our options seem to be:
>
> 1. Live with it. IIRC we're already not sparse-clean, and Ramsay
> mostly looks at the diff to find new problems.
> 2. Pass -Wno-non-pointer-null to sparse. Unfortunately that also
> disables more useful warnings (like passing "0" instead of NULL to
> a function).
Non starter, I am afraind. The loss outweighs.
> 3. Switch to NULL here, and adhere to that going forward.
This does not sound too bad.