aboutsummaryrefslogtreecommitdiff
path: root/src/entity.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2023-01-01 16:19:21 +0000
committergingerBill <bill@gingerbill.org>2023-01-01 16:19:21 +0000
commit5c519f0e8dada6b15166a257d22a07f2316a394f (patch)
treeaa5135b744aa618ef8d10828e87e585e994e8bb3 /src/entity.cpp
parent74e6d9144e9a0afd9c29b0edec8c6ed2960efde4 (diff)
Remove the synchronization primitive init/destroy calls
Diffstat (limited to 'src/entity.cpp')
-rw-r--r--src/entity.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/entity.cpp b/src/entity.cpp
index 0605a293a..f82a2fb05 100644
--- a/src/entity.cpp
+++ b/src/entity.cpp
@@ -154,7 +154,6 @@ struct TypeNameObjCMetadata {
gb_internal TypeNameObjCMetadata *create_type_name_obj_c_metadata() {
TypeNameObjCMetadata *md = gb_alloc_item(permanent_allocator(), TypeNameObjCMetadata);
md->mutex = gb_alloc_item(permanent_allocator(), BlockingMutex);
- mutex_init(md->mutex);
array_init(&md->type_entries, heap_allocator());
array_init(&md->value_entries, heap_allocator());
return md;