fix: optional fields
[babeltrace.git] / plugins / libctfcopytrace / ctfcopytrace.c
index c2d5b4d1450e68bb97b81bec411536855fb11e33..4455dfb87132ce4705732c167cba2c9ac869cce6 100644 (file)
@@ -542,9 +542,7 @@ struct bt_ctf_field *ctf_copy_packet_context(FILE *err,
 
        packet_context = bt_ctf_packet_get_context(packet);
        if (!packet_context) {
-               fprintf(err, "[error] %s in %s:%d\n", __func__, __FILE__,
-                               __LINE__);
-               goto error;
+               goto end;
        }
 
        writer_stream_class = bt_ctf_stream_get_class(writer_stream);
This page took 0.023165 seconds and 4 git commands to generate.