projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ir: empty structures are legal in CTF
[babeltrace.git]
/
formats
/
ctf
/
ir
/
event-fields.c
diff --git
a/formats/ctf/ir/event-fields.c
b/formats/ctf/ir/event-fields.c
index 829a44758c4a2d55224879d4f946dd88afdd78e8..1092dc314d9d8ac08ab39476f39a5afcd1f16daa 100644
(file)
--- a/
formats/ctf/ir/event-fields.c
+++ b/
formats/ctf/ir/event-fields.c
@@
-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.023972 seconds
and
4
git commands to generate.