Merge pull request #863 from jlreymendez/dll_build_fix

Fix nullref access violation when building with no entry point
This commit is contained in:
gingerBill authored and GitHub committed 2021-03-06 23:14:55 +00:00
commit d0f923ba74
2 files changed
+3 -1

No files matched your search

+2
View File
@@ -21,6 +21,8 @@ bld/
![Cc]ore/[Ll]og/
# Visual Studio 2015 cache/options directory
.vs/
# Visual Studio Code options directory
.vscode/
# Uncomment if you have tasks that create the project's static files in wwwroot
#wwwroot/
demo
+1 -1
View File
@@ -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);
}