ctf: silence bogus warning in set_field_refs()
[babeltrace.git] / src / plugins / ctf / fs-sink / translate-trace-ir-to-ctf-ir.c
index 5e5a2c5426f5eecf6711c94d105848d6db0c01af..4a4bbeee259785d67249dc83fd22ac29ead3fb74 100644 (file)
@@ -1501,7 +1501,7 @@ int set_field_refs(struct fs_sink_ctf_field_class * const fc,
        {
                uint64_t i;
                uint64_t len;
-               struct fs_sink_ctf_field_class_struct *struct_fc;
+               struct fs_sink_ctf_field_class_struct *struct_fc = NULL;
                struct fs_sink_ctf_field_class_variant *var_fc = NULL;
                struct fs_sink_ctf_named_field_class *named_fc;
 
This page took 0.024569 seconds and 4 git commands to generate.