Re: [PATCH 3/3] grep: get rid of useless x < 0 comparison on an enum member
- From
Andreas Schwab <schwab@linux-m68k.org>
- Date
- Nov 7, 2011, 20:13 UTC
- Message-ID
- <m2d3d34ro5.fsf@igel.home>
- In-Reply-To
- <20111107185536.GA5450@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
> I do still question the value of the check at all, though, given that > static analysis can find those bugs.
Then you should remove the whole statement.
Andreas.
-- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."