Re: [PATCH 02/11] Fix declare variable at mid of function
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 17, 2009, 19:28 UTC
- Message-ID
- <7v1vnauto6.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <alpine.DEB.1.00.0908171827040.4991@intel-tinevez-2-302>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
> How about this instead? > > Avoid declaration after instruction
It's called declaration-after-statement.
I always compile with "-Wall -Wdeclaration-after-statement -Werror" (among other things; if you are interested, see "Make" script in 'todo' branch for details) but this being in compat/mingw.c, obviously it is outside of my coverage.