summaryrefslogtreecommitdiff
path: root/src/os.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/os.c')
-rw-r--r--src/os.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/os.c b/src/os.c
index 386a00e..e2c3c4a 100644
--- a/src/os.c
+++ b/src/os.c
@@ -216,6 +216,7 @@ static void* mi_mmap_aligned(size_t size, size_t alignment, mi_stats_t* stats) {
UNUSED(size);
UNUSED(alignment);
#endif
+ UNUSED(stats);
mi_assert(p == NULL || (uintptr_t)p % alignment == 0);
if (p != NULL) mi_stat_increase(stats->mmap_calls, 1);
return p;