summaryrefslogtreecommitdiff
path: root/libc/stdlib/malloc-standard/malloc.c
diff options
context:
space:
mode:
authorSven Linker <sven.linker@kernkonzept.com>2024-02-20 11:00:41 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2024-02-20 19:37:25 +0100
commit0f4669a6ec932dd6d037810d64286ba2f4e02ee0 (patch)
treead8fd35c0103a880910853fafaefc8c240b6f93c /libc/stdlib/malloc-standard/malloc.c
parent76c311c44ab684dca1ac0834f3afe40188ef8812 (diff)
libc: Fix some unused parameter warnings
Diffstat (limited to 'libc/stdlib/malloc-standard/malloc.c')
-rw-r--r--libc/stdlib/malloc-standard/malloc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/stdlib/malloc-standard/malloc.c b/libc/stdlib/malloc-standard/malloc.c
index 1f898eb29..cecea87ec 100644
--- a/libc/stdlib/malloc-standard/malloc.c
+++ b/libc/stdlib/malloc-standard/malloc.c
@@ -176,6 +176,7 @@ void __do_check_remalloced_chunk(mchunkptr p, size_t s)
size_t sz = p->size & ~PREV_INUSE;
#endif
+ (void)s;
__do_check_inuse_chunk(p);
/* Legal size ... */