X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=src%2Fcommon%2Fconsumer%2Fconsumer-timer.c;h=557d96b2935c4c8abbe43f9246e11fc4969b01f2;hb=e96fdefc39b0198ef601baecc5a66506b06e4aaf;hp=e42940ed991fa60a6ec7e0e744ebd1033e203bf9;hpb=70bf4a3d154c94c7d74a6d7e3c9de838f8a1409c;p=lttng-tools.git diff --git a/src/common/consumer/consumer-timer.c b/src/common/consumer/consumer-timer.c index e42940ed9..557d96b29 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;