Re: [RFC/PATCH 3/9] for-each-ref: add '--points-at' option
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- Jun 10, 2015, 07:39 UTC
- Message-ID
- <vpqeglkc8qh.fsf@anie.imag.fr>
- In-Reply-To
- <xmqqvbew66q9.fsf@gitster.dls.corp.google.com>
Junio C Hamano <gitster@pobox.com> writes:
Show 8 quoted lines
> 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/