X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=formats%2Fctf%2Fctf.c;h=a2403a77ab8d8906e18e59cb41d6a68684e2ba7a;hp=272e8c45f4a6dc22270e6e7286bc64b723f448be;hb=86b06ede131de636cd9ee62ea79d37f86e75c257;hpb=a99343cf0550d429056e0548f3e175f8ad31273a diff --git a/formats/ctf/ctf.c b/formats/ctf/ctf.c index 272e8c45..a2403a77 100644 --- a/formats/ctf/ctf.c +++ b/formats/ctf/ctf.c @@ -551,15 +551,6 @@ error: void ctf_init_pos(struct ctf_stream_pos *pos, int fd, int open_flags) { pos->fd = fd; - pos->mmap_offset = 0; - pos->packet_size = 0; - pos->content_size = 0; - pos->content_size_loc = NULL; - pos->base_mma = NULL; - pos->offset = 0; - pos->dummy = false; - pos->cur_index = 0; - pos->packet_real_index = NULL; if (fd >= 0) { pos->packet_cycles_index = g_array_new(FALSE, TRUE, sizeof(struct packet_index));