From: Pierre-Marc Fournier Date: Tue, 2 Feb 2010 19:42:38 +0000 (-0500) Subject: buffers.c: fix compilation issue X-Git-Tag: v1.9.1~758 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=120b0ec33d0c9052f3b4db2199a2dd20ed5fd00e;p=lttng-ust.git buffers.c: fix compilation issue --- diff --git a/libust/buffers.c b/libust/buffers.c index 7d2dd473..241ca74d 100644 --- a/libust/buffers.c +++ b/libust/buffers.c @@ -218,6 +218,7 @@ int ust_buffers_channel_open(struct ust_channel *chan, size_t subbuf_size, size_ for(; i>=0; i--) { ust_buffers_close_buf(chan->buf[i]); error: + do {} while(0); } kref_put(&chan->kref, ust_buffers_destroy_channel);