Filter out redundant packet context fields unless in verbose mode
[babeltrace.git] / formats / ctf-text / types / enum.c
index 4a3eac0feecfb93e7f401b4abbf7bee8ada932ab..9043277d19b07b634cf33c522e0d117e8fcb6e43 100644 (file)
@@ -31,6 +31,9 @@ int ctf_text_enum_write(struct stream_pos *ppos, struct definition *definition)
        int i, ret;
        int field_nr_saved;
 
        int i, ret;
        int field_nr_saved;
 
+       if (!print_field(definition))
+               return 0;
+
        if (pos->dummy)
                return 0;
 
        if (pos->dummy)
                return 0;
 
This page took 0.023045 seconds and 4 git commands to generate.