libc/gen: unused variables

Konstantin Belousov kostikbel at gmail.com
Wed May 20 07:51:22 UTC 2015


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.


More information about the freebsd-current mailing list