Thread (1 message) 1 message, 1 author, 2019-07-17

Re: [PATCH] range-diff: fix some 'hdr-check' and sparse warnings

From: Junio C Hamano <hidden>
Date: 2019-07-17 20:10:40

Jeff King [off-list ref] 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.
OK.
  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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help