On Tue, 29 Dec 2015 12:15:25 -0500, "Ted Unangst" wrote:

> I'm slowly trimming down some of the -Wshadow warnings in bin and one big
> offender is ksh. Namely, it has a local variable e that shadows a global e.
> 
> -struct env     *e;
> +struct env     *genv;
> 
> Normally I rename the local, but in this case I think the global deserves a
> better name. Note that this variable is also used as part of a macro ATEMP.
> Accidentally using this macro with a local of the same in scope would be
> ungood.

OK millert@ but please omit the unrelated vi.c changes.

 - todd

Reply via email to