aboutsummaryrefslogtreecommitdiff
path: root/system/lib/dlmalloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'system/lib/dlmalloc.c')
-rw-r--r--system/lib/dlmalloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/lib/dlmalloc.c b/system/lib/dlmalloc.c
index 39bf9a71..9ee3709e 100644
--- a/system/lib/dlmalloc.c
+++ b/system/lib/dlmalloc.c
@@ -4141,7 +4141,7 @@ static int sys_trim(mstate m, size_t pad) {
sp->size >= extra &&
!has_segment_link(m, sp)) { /* can't shrink if pinned */
size_t newsize = sp->size - extra;
- (void)newsize;
+ (void)newsize; // XXX EMSCRIPTEN
/* Prefer mremap, fall back to munmap */
if ((CALL_MREMAP(sp->base, sp->size, newsize, 0) != MFAIL) ||
(CALL_MUNMAP(sp->base + newsize, extra) == 0)) {