X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=libustconsumer%2Flibustconsumer.c;h=25c84ce0c48d36b20ef6369e8f0a60d5a2508293;hb=900e307ed99ca9cb4bfe574ee4f4e1bd9c1baccc;hp=739a22235198c2cc67668c029738c3baf41ac542;hpb=fbae86d664c12e450d3cb702b602701d37781b41;p=lttng-ust.git diff --git a/libustconsumer/libustconsumer.c b/libustconsumer/libustconsumer.c index 739a2223..25c84ce0 100644 --- a/libustconsumer/libustconsumer.c +++ b/libustconsumer/libustconsumer.c @@ -445,7 +445,8 @@ static void destroy_buffer(struct ustconsumer_callbacks *callbacks, int consumer_loop(struct ustconsumer_instance *instance, struct buffer_info *buf) { - int result, read_result; + int result = 0; + int read_result; char read_buf; pthread_cleanup_push(decrement_active_buffers, instance);