From c1865be446f826bd9763956ea3c41b0d6fec1246 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Fri, 16 Oct 2026 06:25:02 -1000 Subject: Mark the parameters callbacks leave unused With these and the two changes before them, cgit builds under git's DEVELOPER=1 settings, which also annotate their own callbacks this way. --- source/ui-shared.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/ui-shared.c') diff --git a/source/ui-shared.c b/source/ui-shared.c index b88edec..b793f74 100644 --- a/source/ui-shared.c +++ b/source/ui-shared.c @@ -1838,7 +1838,7 @@ static struct string_list tag_names = STRING_LIST_INIT_DUP; static struct string_list tag_stems = STRING_LIST_INIT_DUP; static int tags_collected; -static int collect_tag(const struct reference *ref, void *data) +static int collect_tag(const struct reference *ref, void *data UNUSED) { const char *name = ref->name; -- cgit