mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
* malloc/malloc.c (munmap_chunk): Suppress warnings from last change.
* sysdeps/unix/sysv/linux/tcflush.c: Rewritten. * sysdeps/unix/sysv/linux/tcflow.c: Rewritten.
This commit is contained in:
@ -3292,7 +3292,7 @@ munmap_chunk(p) mchunkptr p;
|
||||
mp_.n_mmaps--;
|
||||
mp_.mmapped_mem -= total_size;
|
||||
|
||||
int ret = munmap(block, total_size);
|
||||
int ret __attribute__ ((unused)) = munmap((char *)block, total_size);
|
||||
|
||||
/* munmap returns non-zero on failure */
|
||||
assert(ret == 0);
|
||||
|
Reference in New Issue
Block a user