Fix: src.ctf.lttng-live: using `last_inactivity_ts` uninitialized
[babeltrace.git] / src / plugins / ctf / lttng-live / data-stream.c
index 618af36d643910715ff5ad77ed461e556cb39701..d7fdf34635cdc5bcbe6ce68889ca88bc131541f2 100644 (file)
@@ -223,7 +223,8 @@ struct lttng_live_stream_iterator *lttng_live_stream_iterator_create(
        stream_iter->state = LTTNG_LIVE_STREAM_ACTIVE_NO_DATA;
        stream_iter->viewer_stream_id = stream_id;
        stream_iter->ctf_stream_class_id = -1ULL;
-       stream_iter->last_inactivity_ts = INT64_MIN;
+       stream_iter->last_inactivity_ts.is_set = false;
+       stream_iter->last_inactivity_ts.value = 0;
 
        if (trace->trace) {
                struct ctf_trace_class *ctf_tc =
This page took 0.024408 seconds and 4 git commands to generate.