X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=liblttng-ust%2Flttng-context-perf-counters.c;fp=liblttng-ust%2Flttng-context-perf-counters.c;h=dac953ffe961852dc21ce01cf85c3f7c66431929;hb=2208d8b5689264e35ed0a660d8c3c82021cc0367;hp=94f4e95d4589bf8bb798af3a07fa7478e1e88c96;hpb=c53279a3e7796da67c5ad8d5e5657bf03def2dcb;p=lttng-ust.git diff --git a/liblttng-ust/lttng-context-perf-counters.c b/liblttng-ust/lttng-context-perf-counters.c index 94f4e95d..dac953ff 100644 --- a/liblttng-ust/lttng-context-perf-counters.c +++ b/liblttng-ust/lttng-context-perf-counters.c @@ -158,7 +158,8 @@ void lttng_perf_unlock(void) } static -size_t perf_counter_get_size(struct lttng_ust_ctx_field *field, size_t offset) +size_t perf_counter_get_size(struct lttng_ust_ctx_field *field __attribute__((unused)), + size_t offset) { size_t size = 0;