This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] malloc/hooks.c: Mark variable as unused
- From: Ulrich Drepper <drepper at gmail dot com>
- To: Marek Polacek <mpolacek at redhat dot com>
- Cc: libc-alpha <libc-alpha at sourceware dot org>
- Date: Fri, 8 Jul 2011 13:22:14 -0400
- Subject: Re: [PATCH] malloc/hooks.c: Mark variable as unused
- References: <4E0F4FE6.1050004@redhat.com>
On Sat, Jul 2, 2011 at 13:05, Marek Polacek <mpolacek@redhat.com> wrote:
> Prevent ``set but not used'' warning (GCC >4.6) by marking variable `nb' as
> unused.
The right thing to do is to avoid checked_request2size. I checked in a patch.