Re: [PATCH 01/02] ident.c: Use const qualifier when possible
- From
Junio C Hamano <junkio@cox.net>
- Date
- Apr 15, 2007, 20:14 UTC
- Message-ID
- <7vslb12y4e.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <200704152106.51082.andyparkins@gmail.com>
Andy Parkins <andyparkins@gmail.com> writes:
Show 10 quoted lines
> On Sunday 2007, April 15, Luiz Fernando N. Capitulino wrote: > >> -static const char *env_hint = >> +static const char const *env_hint = > > You can see then that > > const char const *env_hint > > is redundant, it's simply saying twice that (*env_hint) is const.
I think he wanted to say
static const char *const env_hint = ...