From b68d3dc0394c16b84d3a9368b272e9eb5dbc460a Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Mon, 13 Feb 2012 14:33:24 -0500 Subject: [PATCH] Mark lib_ring_buffer_print_errors unused Signed-off-by: Mathieu Desnoyers --- libringbuffer/ring_buffer_frontend.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libringbuffer/ring_buffer_frontend.c b/libringbuffer/ring_buffer_frontend.c index d0649f3e..cb9446ea 100644 --- a/libringbuffer/ring_buffer_frontend.c +++ b/libringbuffer/ring_buffer_frontend.c @@ -92,7 +92,8 @@ __thread unsigned int lib_ring_buffer_nesting; static void lib_ring_buffer_print_errors(struct channel *chan, struct lttng_ust_lib_ring_buffer *buf, int cpu, - struct lttng_ust_shm_handle *handle); + struct lttng_ust_shm_handle *handle) + __attribute__((unused)); /** * lib_ring_buffer_reset - Reset ring buffer to initial values. -- 2.34.1