Re: [PATCH] Fix an "variable might be used uninitialized" gcc warning
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Dec 16, 2011, 23:59 UTC
- Message-ID
- <20111216235908.GA5858@elie.hsd1.il.comcast.net>
- In-Reply-To
- <4EEBC9D6.6010204@ramsay1.demon.co.uk>
Ramsay Jones wrote:
> CC builtin/checkout.o > builtin/checkout.c: In function `cmd_checkout': > builtin/checkout.c:160: warning: 'mode' might be used uninitialized \ > in this function
[...]
> [Note that only 2 out of the 3 versions of gcc I use issues this > warning]
Which version of gcc is that? Is gcc getting more sane, so we won't have to worry about this after a while, or is the false positive a new regression that should be reported to them?