mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-04 06:38:47 +00:00
Merge pull request #5293 from Feoramund/nulpo-check-5215
Add `nullptr` check in `add_type_info_type_internal`
This commit is contained in:
+1
-1
@@ -2054,7 +2054,7 @@ gb_internal void add_type_info_type(CheckerContext *c, Type *t) {
|
||||
}
|
||||
|
||||
gb_internal void add_type_info_type_internal(CheckerContext *c, Type *t) {
|
||||
if (t == nullptr) {
|
||||
if (t == nullptr || c == nullptr) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user