diff options
author | Mitya Selivanov <automainint@guattari.tech> | 2023-09-15 15:26:24 +0200 |
---|---|---|
committer | Mitya Selivanov <automainint@guattari.tech> | 2023-09-15 15:26:24 +0200 |
commit | 162e9dede381ef9f20c0e37336548d2593e76a34 (patch) | |
tree | 1d943ef8ea9f32147b45173dcdcb3b5afb145874 | |
parent | c163144c683ec0d0cddaf162353a08e235ef8200 (diff) | |
download | kit-162e9dede381ef9f20c0e37336548d2593e76a34.zip |
shared_memory: win32 fix
-rw-r--r-- | source/kit/shared_memory.win32.c | 1 |
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; |