X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=formats%2Fctf-text%2Ftypes%2Ffloat.c;h=7fe4fe0042fb1f314b3b70d8fcb7984864788ace;hp=2ec7728eb1a907cc5ba6592ee7df4fda6c347292;hb=d335f0f72a86c7cdcc18e524c74b82a51ad01b16;hpb=e4e9b4715098b1183895c8c09e97eff790a8cda7 diff --git a/formats/ctf-text/types/float.c b/formats/ctf-text/types/float.c index 2ec7728e..7fe4fe00 100644 --- a/formats/ctf-text/types/float.c +++ b/formats/ctf-text/types/float.c @@ -27,6 +27,9 @@ int ctf_text_float_write(struct stream_pos *ppos, struct definition *definition) container_of(definition, struct definition_float, p); struct ctf_text_stream_pos *pos = ctf_text_pos(ppos); + if (!print_field(definition)) + return 0; + if (pos->dummy) return 0;