X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fconsumer%2Fconsumer-timer.c;h=38b8b30d29faac24d0d6500e90841fae08d0b0a0;hb=23bc9bb5ee7a2f637d68341ba425700e04ea101f;hp=721f146e20fdff2a5d7cecd0e488008bd618269f;hpb=25c6c5dcd5c2d503a8521dda5853d6e3074fdc33;p=lttng-tools.git diff --git a/src/common/consumer/consumer-timer.c b/src/common/consumer/consumer-timer.c index 721f146e2..38b8b30d2 100644 --- a/src/common/consumer/consumer-timer.c +++ b/src/common/consumer/consumer-timer.c @@ -637,7 +637,7 @@ int sample_channel_positions(struct lttng_consumer_channel *channel, sample_positions_cb sample, get_consumed_cb get_consumed, get_produced_cb get_produced) { - int ret; + int ret = 0; struct lttng_ht_iter iter; struct lttng_consumer_stream *stream; bool empty_channel = true;