Add stream_event_context accessors
[babeltrace.git] / formats / ctf / ir / event-fields.c
index e49a17be9b147f732b36e58b739cccef6e33893a..bde69a224bfb6e06b190a07f0472865639a1fe11 100644 (file)
@@ -993,13 +993,11 @@ struct bt_ctf_field *bt_ctf_field_copy(struct bt_ctf_field *field)
        enum ctf_type_id type_id;
 
        if (!field) {
-               ret = -1;
                goto end;
        }
 
        type_id = bt_ctf_field_type_get_type_id(field->type);
        if (type_id <= CTF_TYPE_UNKNOWN || type_id >= NR_CTF_TYPES) {
-               ret = -1;
                goto end;
        }
 
This page took 0.02391 seconds and 4 git commands to generate.