fix warnings
[babeltrace.git] / plugins / libctfcopytrace / ctfcopytrace.c
index a2e2bffc7b3ee847552ae7d24f16b78f2ca6e51a..39c394bdc761b2398f920367cee927f36b19d420 100644 (file)
@@ -527,7 +527,7 @@ struct bt_ctf_field *ctf_copy_packet_context(FILE *err,
        struct bt_ctf_field *packet_context = NULL, *writer_packet_context = NULL;
        struct bt_ctf_field_type *struct_type = NULL, *writer_packet_context_type = NULL;
        struct bt_ctf_stream_class *writer_stream_class = NULL;
-       struct bt_ctf_field *field;
+       struct bt_ctf_field *field = NULL;
        struct bt_ctf_field_type *field_type;
        int nr_fields, i;
 
This page took 0.023652 seconds and 4 git commands to generate.