Browse Source

Fix `check_procedure_bodies` to allow multiple threads caused by a typo

gingerBill 3 years ago
parent
commit
cb1080d56c
1 changed files with 0 additions and 1 deletions
  1. 0 1
      src/checker.cpp

+ 0 - 1
src/checker.cpp

@@ -4941,7 +4941,6 @@ void check_procedure_bodies(Checker *c) {
 	if (!build_context.threaded_checker) {
 	if (!build_context.threaded_checker) {
 		worker_count = 0;
 		worker_count = 0;
 	}
 	}
-	worker_count = 0;
 	if (worker_count == 0) {
 	if (worker_count == 0) {
 		auto *this_queue = &c->procs_to_check_queue;
 		auto *this_queue = &c->procs_to_check_queue;