test-mergesort: mark unused parameters in trivial callback

The mode_copy() function does nothing, but since it's used as a function pointer within "struct mode", it has to conform to the interface. Mark it to quiet -Wunused-parameter. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Jeff King committed Aug 17, 2024 at 04:25 UTC f288a57789b667c7922f1f8540913cf754b04e13
1 file changed +1 -1
t/helper/test-mergesort.c
+1 -1
@@ -122,7 +122,7 @@ static const struct dist *get_dist_by_name(const char *name)
122 return NULL;
123 }
124
125 -static void mode_copy(int *arr, int n)
125 +static void mode_copy(int *arr UNUSED, int n UNUSED)
126 {
127 /* nothing */
128 }