diff --git a/src/os/mem/posix/mem_utils_posix.c b/src/os/mem/posix/mem_utils_posix.c index e1d0706..f0e57db 100644 --- a/src/os/mem/posix/mem_utils_posix.c +++ b/src/os/mem/posix/mem_utils_posix.c @@ -17,6 +17,7 @@ internal const i32 access_types[] = { }; void *mem_util_allocate(void *addr, u64 size, MemAccess access, MemAllocFlags flags, MemInitType type) { + (void)type; i32 alloc_flags = flags | MAP_ANON | MAP_PRIVATE; #if defined(WAPP_PLATFORM_LINUX) || defined(WAPP_PLATFORM_GNU) || defined(WAPP_PLATFORM_NET_BSD)