aboutsummaryrefslogtreecommitdiff
path: root/src/check_decl.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2021-08-02 18:32:17 +0100
committergingerBill <bill@gingerbill.org>2021-08-02 18:32:17 +0100
commit9e6e769141ea444f8f17255d319cb3a448f23fe5 (patch)
tree600dd241df58d88d6c736ce9fce4682154f93728 /src/check_decl.cpp
parentc0f746a251e5bc433acec710aa1824b2220f4da1 (diff)
Add sanity checks to checkerdev-2021-08
Diffstat (limited to 'src/check_decl.cpp')
-rw-r--r--src/check_decl.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/check_decl.cpp b/src/check_decl.cpp
index a87a29193..2bf21c676 100644
--- a/src/check_decl.cpp
+++ b/src/check_decl.cpp
@@ -1171,9 +1171,6 @@ end:;
// NOTE(bill): Add it to the list of checked entities
if (e->flags & EntityFlag_Lazy) {
array_add(&ctx->info->entities, e);
- }
-
- if (e->flags & EntityFlag_Lazy) {
mutex_unlock(&ctx->info->lazy_mutex);
}
}