diff --git a/src/mono/mono/utils/mono-mmap-wasm.c b/src/mono/mono/utils/mono-mmap-wasm.c index 3e1e80b9621126..e19645b90e82f2 100644 --- a/src/mono/mono/utils/mono-mmap-wasm.c +++ b/src/mono/mono/utils/mono-mmap-wasm.c @@ -96,8 +96,6 @@ static void* valloc_impl (void *addr, size_t size, int flags, MonoMemAccountType type) { void *ptr; - int mflags = 0; - int prot = prot_from_flags (flags); if (!mono_valloc_can_alloc (size)) return NULL;