Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-15

Re: [PATCH 01/02] ident.c: Use const qualifier when possible

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:43:04

Possibly related (same subject, not in this thread)

Andy Parkins [off-list ref] writes:
On Sunday 2007, April 15, Luiz Fernando N. Capitulino wrote:
quoted
-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 = ...
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help