This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] malloc: Resolve compilation failure in NDEBUG mode
- From: Carlos O'Donell <carlos at redhat dot com>
- To: Florian Weimer <fweimer at redhat dot com>, libc-alpha at sourceware dot org
- Date: Thu, 31 Aug 2017 08:27:25 -0500
- Subject: Re: [PATCH] malloc: Resolve compilation failure in NDEBUG mode
- Authentication-results: sourceware.org; auth=none
- References: <20170831130210.9520943994318@oldenburg.str.redhat.com>
On 08/31/2017 08:02 AM, Florian Weimer wrote:
> In _int_free, the locked variable is not used if NDEBUG is defined.
>
> 2017-08-31 Florian Weimer <fweimer@redhat.com>
>
> * malloc/malloc.c (_int_free): Remove locked variable and related
> asserts.
LGTM.
--
Cheers,
Carlos.