diff --git a/.gitignore b/.gitignore index 20e3578ca..0d606498e 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/src/checker.cpp b/src/checker.cpp index be58538a6..d5d6bf5c3 100644 --- a/src/checker.cpp +++ b/src/checker.cpp @@ -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); }