From 4dade346033bc3d19879bee1823abf3d9e230281 Mon Sep 17 00:00:00 2001 From: thebirk Date: Thu, 29 Aug 2019 20:34:09 +0200 Subject: Removed unused semaphore on Parser. --- src/parser.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/parser.cpp') diff --git a/src/parser.cpp b/src/parser.cpp index 3fc999a2c..f08688b5f 100644 --- a/src/parser.cpp +++ b/src/parser.cpp @@ -4062,7 +4062,6 @@ bool init_parser(Parser *p) { array_init(&p->files_to_process, heap_allocator()); gb_mutex_init(&p->file_add_mutex); gb_mutex_init(&p->file_decl_mutex); - gb_semaphore_init(&p->worker_finished_semaphore); return true; } @@ -4088,7 +4087,6 @@ void destroy_parser(Parser *p) { map_destroy(&p->package_map); gb_mutex_destroy(&p->file_add_mutex); gb_mutex_destroy(&p->file_decl_mutex); - gb_semaphore_destroy(&p->worker_finished_semaphore); } -- cgit v1.2.3