mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-06 22:08:41 +00:00
discard null data nodes
This commit is contained in:
committed by
Ryan Fleury
parent
3ffd8c19ea
commit
c5164bd490
@@ -170,7 +170,9 @@ coff_obj_writer_push_section(COFF_ObjWriter *obj_writer, String8 name, COFF_Sect
|
|||||||
sect->name = name;
|
sect->name = name;
|
||||||
sect->flags = flags;
|
sect->flags = flags;
|
||||||
|
|
||||||
|
if (data.size) {
|
||||||
str8_list_push(obj_writer->arena, §->data, data);
|
str8_list_push(obj_writer->arena, §->data, data);
|
||||||
|
}
|
||||||
|
|
||||||
return sect;
|
return sect;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user