This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] elf/dl-lookup.c: Remove unused variable
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: Marek Polacek <mpolacek at redhat dot com>
- Cc: libc-alpha <libc-alpha at sourceware dot org>
- Date: Tue, 28 Jun 2011 19:39:40 +0200
- Subject: Re: [PATCH] elf/dl-lookup.c: Remove unused variable
- References: <4E09F6AC.1000405@redhat.com>
Marek Polacek <mpolacek@redhat.com> writes:
> @@ -892,7 +891,6 @@ _dl_setup_hash (struct link_map *map)
> hash = (void *) D_PTR (map, l_info[DT_HASH]);
>
> map->l_nbuckets = *hash++;
> - nchain = *hash++;
What about the side effect?
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."