Fix: src.ctf.fs: Using uninitialized value
[babeltrace.git] / plugins / ctf / fs-src / data-stream-file.c
index fab87deeac56787ad658107e3b44fd44854216b8..924c579f5227b38b3105235a29fc9f95f9d2c94b 100644 (file)
@@ -536,7 +536,7 @@ struct ctf_fs_ds_index *build_index_from_stream_file(
 {
        int ret;
        struct ctf_fs_ds_index *index = NULL;
-       enum bt_msg_iter_status iter_status;
+       enum bt_msg_iter_status iter_status = BT_MSG_ITER_STATUS_OK;
        off_t current_packet_offset_bytes = 0;
 
        BT_LOGD("Indexing stream file %s", ds_file->file->path->str);
This page took 0.027243 seconds and 4 git commands to generate.