mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-06-17 01:22:24 -07: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->flags = flags;
|
||||
|
||||
str8_list_push(obj_writer->arena, §->data, data);
|
||||
if (data.size) {
|
||||
str8_list_push(obj_writer->arena, §->data, data);
|
||||
}
|
||||
|
||||
return sect;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user