X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=formats%2Fctf%2Fwriter%2Fevent-types.c;h=08b832e8255df995e3ca3ac2dc2cc53b24055240;hp=7f7fa7622247abb3e09288960429722d3f9cf8a1;hb=a53ed9239af287c20f0668413b3c8239a487c920;hpb=a39fa057a49e51b05318265b270940d10c7b3d18 diff --git a/formats/ctf/writer/event-types.c b/formats/ctf/writer/event-types.c index 7f7fa762..08b832e8 100644 --- a/formats/ctf/writer/event-types.c +++ b/formats/ctf/writer/event-types.c @@ -550,6 +550,7 @@ int bt_ctf_field_type_structure_add_field(struct bt_ctf_field_type *type, validate_identifier(field_name) || (type->declaration->id != CTF_TYPE_STRUCT) || bt_ctf_field_type_validate(field_type)) { + ret = -1; goto end; }