From: Pierre-Marc Fournier Date: Tue, 2 Feb 2010 19:42:38 +0000 (-0500) Subject: buffers.c: fix compilation issue X-Git-Tag: v0.2~35 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=120b0ec33d0c9052f3b4db2199a2dd20ed5fd00e;p=ust.git buffers.c: fix compilation issue --- diff --git a/libust/buffers.c b/libust/buffers.c index 7d2dd47..241ca74 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);