summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorMitya Selivanov <automainint@guattari.tech>2023-09-15 15:26:24 +0200
committerMitya Selivanov <automainint@guattari.tech>2023-09-15 15:26:24 +0200
commit162e9dede381ef9f20c0e37336548d2593e76a34 (patch)
tree1d943ef8ea9f32147b45173dcdcb3b5afb145874 /source
parentc163144c683ec0d0cddaf162353a08e235ef8200 (diff)
downloadkit-162e9dede381ef9f20c0e37336548d2593e76a34.zip
shared_memory: win32 fix
Diffstat (limited to 'source')
-rw-r--r--source/kit/shared_memory.win32.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/kit/shared_memory.win32.c b/source/kit/shared_memory.win32.c
index c660fcd..c6cc3d3 100644
--- a/source/kit/shared_memory.win32.c
+++ b/source/kit/shared_memory.win32.c
@@ -45,7 +45,6 @@ kit_shared_memory_t kit_shared_memory_open(kit_str_t name, i64 size,
PAGE_READWRITE, 0, size, buf)
: OpenFileMappingA(FILE_MAP_ALL_ACCESS, 0, buf);
- assert(h != NULL);
if (h == NULL) {
mem.status = KIT_ERROR_SHM_OPEN_FAILED;
return mem;