summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorMitya Selivanov <automainint@guattari.tech>2023-10-28 18:26:11 +0200
committerMitya Selivanov <automainint@guattari.tech>2023-10-28 18:26:11 +0200
commitb674f3112589f16748721a0b4cbd114059f5a81b (patch)
tree4cd36fe29cb9a52998eafd5c58fcd0465ced7c35 /source
parent57f701f4a1b9b7da872509d7349d19c198ccb84e (diff)
downloadkit-b674f3112589f16748721a0b4cbd114059f5a81b.zip
remove assertion on mmap
Diffstat (limited to 'source')
-rw-r--r--source/kit/shared_memory.posix.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/kit/shared_memory.posix.c b/source/kit/shared_memory.posix.c
index edb8794..e109e2a 100644
--- a/source/kit/shared_memory.posix.c
+++ b/source/kit/shared_memory.posix.c
@@ -70,7 +70,6 @@ kit_shared_memory_t kit_shared_memory_open(kit_str_t name, i64 size,
if (p == MAP_FAILED) {
shm_unlink(mem._name);
- assert(0);
mem.status = KIT_ERROR_MAP_FAILED;
return mem;
}