Cleanup: work-around clang unused result warning
[lttng-ust.git] / libringbuffer / frontend_types.h
index 70e7bb7deb7f17de588f3743ed3430ce69174ece..b44783f713630a584e99e28bd6c6982f5bf08444 100644 (file)
@@ -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 */
This page took 0.02317 seconds and 4 git commands to generate.