aboutsummaryrefslogtreecommitdiff
path: root/src/check_decl.cpp
diff options
context:
space:
mode:
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);
}
}