mirror of
https://github.com/odin-lang/Odin.git
synced 2026-01-03 03:32:37 +00:00
Fix nullref access violation when building with no entry point
This commit is contained in:
@@ -1907,7 +1907,7 @@ void generate_minimum_dependency_set(Checker *c, Entity *start) {
|
||||
array_add(&c->info.testing_procedures, e);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
} else if (start != nullptr) {
|
||||
start->flags |= EntityFlag_Used;
|
||||
add_dependency_to_set(c, start);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user