X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=libringbuffer%2Ffrontend_types.h;h=b44783f713630a584e99e28bd6c6982f5bf08444;hb=257ecc17e3214106b7e788cda75fec667cc5cc26;hp=70e7bb7deb7f17de588f3743ed3430ce69174ece;hpb=08a3170cf905550ba1467a35981ffa5e13495e57;p=lttng-ust.git diff --git a/libringbuffer/frontend_types.h b/libringbuffer/frontend_types.h index 70e7bb7d..b44783f7 100644 --- a/libringbuffer/frontend_types.h +++ b/libringbuffer/frontend_types.h @@ -166,7 +166,7 @@ void *channel_get_private(struct channel *chan) uatomic_inc(&__chan->record_disabled); \ WARN_ON(1); \ } \ - _____ret; \ + _____ret = _____ret; /* For clang "unused result". */ \ }) #endif /* _LTTNG_RING_BUFFER_FRONTEND_TYPES_H */