Re: [PATCH v4 0/3] Take four on fixing OPT_SET_PTR issues
- From
Jeff King <peff@peff.net>
- Date
- Mar 31, 2014, 21:07 UTC
- Message-ID
- <20140331210714.GA6422@sigill.intra.peff.net>
- In-Reply-To
- <xmqq4n2e8eov.fsf@gitster.dls.corp.google.com>
On Mon, Mar 31, 2014 at 10:23:44AM -0700, Junio C Hamano wrote:
> SET_PTR() may not be used, but are there places where SET_INT() is > abused with a cast-to-pointer for the same effect? I didn't check, > but if there are such places, converting them to use SET_PTR() with > their existing cast removed may be a better way to go.
Anyone doing that should be beaten with a clue stick.
Fortunately, I grepped through and I did not see any cases. My clue stick remains untouched.
-Peff