From 22763a8fc7ee5f795a15420d69edd5ccc70ae1f6 Mon Sep 17 00:00:00 2001 From: Arnaldo Carvalho de Melo Date: Thu, 5 Aug 2021 18:34:18 -0300 Subject: [PATCH] btf_loader: Mark create_new_datasec() args as __maybe_unused As it is just a stub for now. Signed-off-by: Arnaldo Carvalho de Melo --- btf_loader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/btf_loader.c b/btf_loader.c index 562cb8e..008746a 100644 --- a/btf_loader.c +++ b/btf_loader.c @@ -359,7 +359,7 @@ static int create_new_variable(struct cu *cu, const struct btf_type *tp, uint32_ return 0; } -static int create_new_datasec(struct cu *cu, const struct btf_type *tp, uint32_t id) +static int create_new_datasec(struct cu *cu __maybe_unused, const struct btf_type *tp __maybe_unused, uint32_t id __maybe_unused) { //cu__add_tag_with_id(cu, &datasec->tag, id);