Re: libc/gen: unused variables

From: Konstantin Belousov <kostikbel_at_gmail.com>
Date: Wed, 20 May 2015 10:50:30 +0300
On Wed, May 20, 2015 at 12:11:08AM -0700, Adrian Chadd wrote:
> Hi,
> 
> here's a patch against -head that eliminates gcc-4.9 complaining about
> set-but-unused variables. It just comments them out for now - are
> these okay to eliminate, or is there something else that's
> broken/missing?
Of course, the patch as posted must not be committed.

For dl_init_phdr_info(), it is acceptable to eliminate AT_PHENT case
and phent local.

I have not looked at the other places.
Received on Wed May 20 2015 - 05:51:22 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:57 UTC