X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=liblttng-ust%2Flttng-context-ip.c;fp=liblttng-ust%2Flttng-context-ip.c;h=bdf2f12389af0ba3684f3ffe38a1ee6eacfd2e33;hb=2208d8b5689264e35ed0a660d8c3c82021cc0367;hp=4f4ef632508542911ebbbf0b3aa7271b6ee50159;hpb=c53279a3e7796da67c5ad8d5e5657bf03def2dcb;p=lttng-ust.git diff --git a/liblttng-ust/lttng-context-ip.c b/liblttng-ust/lttng-context-ip.c index 4f4ef632..bdf2f123 100644 --- a/liblttng-ust/lttng-context-ip.c +++ b/liblttng-ust/lttng-context-ip.c @@ -18,7 +18,8 @@ #include "context-internal.h" static -size_t ip_get_size(struct lttng_ust_ctx_field *field, size_t offset) +size_t ip_get_size(struct lttng_ust_ctx_field *field __attribute__((unused)), + size_t offset) { size_t size = 0; @@ -28,7 +29,7 @@ size_t ip_get_size(struct lttng_ust_ctx_field *field, size_t offset) } static -void ip_record(struct lttng_ust_ctx_field *field, +void ip_record(struct lttng_ust_ctx_field *field __attribute__((unused)), struct lttng_ust_lib_ring_buffer_ctx *ctx, struct lttng_ust_channel_buffer *chan) {