ir: empty structures are legal in CTF
[babeltrace.git] / formats / ctf / ir / event-fields.c
index 829a44758c4a2d55224879d4f946dd88afdd78e8..1092dc314d9d8ac08ab39476f39a5afcd1f16daa 100644 (file)
@@ -1257,7 +1257,7 @@ struct bt_ctf_field *bt_ctf_field_structure_create(
                struct bt_ctf_field_structure, 1);
        struct bt_ctf_field *field = NULL;
 
-       if (!structure || !structure_type->fields->len) {
+       if (!structure) {
                goto end;
        }
 
This page took 0.025448 seconds and 4 git commands to generate.