Re: [PATCH/RFC] reflog: silence -O3 -Wuninitialized warning
- From
Johannes Sixt <j.sixt@viscovery.net>
- Date
- Mar 16, 2011, 09:54 UTC
- Message-ID
- <4D8088C1.5050901@viscovery.net>
- In-Reply-To
- <20110316094639.GA8180@elie>
Am 3/16/2011 10:47, schrieb Jonathan Nieder:
> Since the makefile already controls what options are passed to msvc, > is there some simple way to suppress the warning from "expire = > expire"?
I don't think so. This is not a special warning, but just
warning C4700: uninitialized local variable 'expire' used
That is, if you disable it, you also disable it for locations where the warning would be justified. That's not something that I would like to do.
-- Hannes