diff --git a/system/lib/wasmfs/syscalls.cpp b/system/lib/wasmfs/syscalls.cpp index 6271c104a2f5b..7b6817f22a024 100644 --- a/system/lib/wasmfs/syscalls.cpp +++ b/system/lib/wasmfs/syscalls.cpp @@ -1529,7 +1529,6 @@ intptr_t _mmap_js( if (!ptr) { return -ENOMEM; } - *allocated = true; auto written = file->locked().read(ptr, length, offset); if (written < 0) {