CTF writer: stream: handle automatic fields more securely
[babeltrace.git] / lib / ctf-writer / serialize.c
index e2fa56d79bb85fb33376656b27bb0794b4881d35..427c2c5a96fd5c8a03c6c46bcd6b33ad26129911 100644 (file)
@@ -282,7 +282,6 @@ void bt_ctf_stream_pos_packet_seek(struct bt_ctf_stream_pos *pos, size_t index,
 
        /* The writer will add padding */
        pos->mmap_offset += pos->packet_size / CHAR_BIT;
-       pos->content_size = -1U;        /* Unknown at this point */
        pos->packet_size = getpagesize() * 8 * CHAR_BIT;
        do {
                ret = bt_posix_fallocate(pos->fd, pos->mmap_offset,
This page took 0.027689 seconds and 4 git commands to generate.