From 653edb992e9a046cab5d6039a1c89973b73bbc45 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sun, 27 Sep 2026 20:26:15 -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-clone.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/ui-clone.c') diff --git a/source/ui-clone.c b/source/ui-clone.c index 832a056..fcab846 100644 --- a/source/ui-clone.c +++ b/source/ui-clone.c @@ -19,7 +19,7 @@ * second line, marked with ^{}, naming the object the tag peels to, the * format git update-server-info writes into info/refs. */ -static int print_ref(const struct reference *ref, void *cb_data) +static int print_ref(const struct reference *ref, void *cb_data UNUSED) { struct object *obj; -- cgit 2.12.1