Fix unused variable error

This commit is contained in:
Abdelrahman Said 2025-02-09 16:34:36 +00:00
parent fdb0650634
commit f8e0804dd2

View File

@ -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)