aboutsummaryrefslogtreecommitdiff
path: root/src/checker.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2022-01-10 13:31:34 +0000
committergingerBill <bill@gingerbill.org>2022-01-10 13:31:34 +0000
commitcb1080d56c7a5d26f344a41ea6553bf154509072 (patch)
tree6dab06e47125c7936fd25ef42dfd965e41ce1fab /src/checker.cpp
parent80bd1eb615ba83727a57173a391ae2bb710f6533 (diff)
Fix `check_procedure_bodies` to allow multiple threads caused by a typo
Diffstat (limited to 'src/checker.cpp')
-rw-r--r--src/checker.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/checker.cpp b/src/checker.cpp
index 667146eda..c270e8210 100644
--- a/src/checker.cpp
+++ b/src/checker.cpp
@@ -4941,7 +4941,6 @@ void check_procedure_bodies(Checker *c) {
if (!build_context.threaded_checker) {
worker_count = 0;
}
- worker_count = 0;
if (worker_count == 0) {
auto *this_queue = &c->procs_to_check_queue;