mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-05 05:18:40 +00:00
null check for obj
This commit is contained in:
committed by
Ryan Fleury
parent
d3dedd8bef
commit
cff6426741
@@ -706,7 +706,7 @@ lnk_parse_export_directive_ex(Arena *arena, String8List directive, LNK_Obj *obj,
|
|||||||
}
|
}
|
||||||
|
|
||||||
// fill out export
|
// fill out export
|
||||||
export_out->obj_path = obj->path;
|
export_out->obj_path = obj ? obj->path : str8_zero();
|
||||||
export_out->lib_path = lnk_obj_get_lib_path(obj);
|
export_out->lib_path = lnk_obj_get_lib_path(obj);
|
||||||
export_out->name = push_str8_copy(arena, name);
|
export_out->name = push_str8_copy(arena, name);
|
||||||
export_out->alias = push_str8_copy(arena, alias);
|
export_out->alias = push_str8_copy(arena, alias);
|
||||||
@@ -736,7 +736,6 @@ lnk_parse_export_directive(Arena *arena, String8 directive, LNK_Obj *obj, PE_Exp
|
|||||||
return is_parsed;
|
return is_parsed;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
internal LNK_MergeDirectiveNode *
|
internal LNK_MergeDirectiveNode *
|
||||||
lnk_merge_directive_list_push(Arena *arena, LNK_MergeDirectiveList *list, LNK_MergeDirective data)
|
lnk_merge_directive_list_push(Arena *arena, LNK_MergeDirectiveList *list, LNK_MergeDirective data)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user