This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] malloc/hooks.c: Mark variable as unused


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]