Re: [RFC/PATCH 3/9] for-each-ref: add '--points-at' option
- From
Karthik Nayak <karthik.188@gmail.com>
- Date
- Jun 10, 2015, 11:31 UTC
- Message-ID
- <55782004.3080600@gmail.com>
- In-Reply-To
- <vpqeglkc8qh.fsf@anie.imag.fr>
On 06/10/2015 01:09 PM, Matthieu Moy wrote:
Show 18 quoted lines
> Junio C Hamano <gitster@pobox.com> 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.
>Thanks a lot! Your tips are brilliant.
-- Regards, Karthik