aboutsummaryrefslogtreecommitdiff
path: root/src/checker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/checker.cpp')
-rw-r--r--src/checker.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/checker.cpp b/src/checker.cpp
index d5a5dfd72..ba8f7b35a 100644
--- a/src/checker.cpp
+++ b/src/checker.cpp
@@ -711,10 +711,11 @@ void destroy_checker_info(CheckerInfo *i) {
}
-void init_checker(Checker *c, Parser *parser, BuildContext *bc) {
+void init_checker(Checker *c, Parser *parser) {
if (global_error_collector.count > 0) {
gb_exit(1);
}
+ BuildContext *bc = &build_context;
gbAllocator a = heap_allocator();