From: Matthieu Moy Date: Wed, 10 Jun 2015 07:39:50 GMT Subject: Re: [RFC/PATCH 3/9] for-each-ref: add '--points-at' option Message-ID: In-Reply-To: Junio C Hamano writes: > Don't do that. Always start your function like so: > > type funcname(args) > { > declarations; > > first statement; > ... Hint: create a file config.mak with this content: $ cat config.mak CFLAGS += -Wdeclaration-after-statement -Wall -Werror and gcc will prevent you from doing this mistake again. -- Matthieu Moy http://www-verimag.imag.fr/~moy/