worktree: mark unused parameters in noop repair callback

The noop repair callback unsurprisingly does not look at any of its parameters. Mark them as unused to silence -Wunused-parameter. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Jeff King committed Aug 29, 2023 at 19:45 UTC 2b0e46f563c21429e45f7c57a22b1337b039a3f9
1 file changed +4 -2
worktree.c
+4 -2
@@ -581,8 +581,10 @@ static void repair_gitfile(struct worktree *wt,
581 strbuf_release(&dotgit);
582 }
583
584 -static void repair_noop(int iserr, const char *path, const char *msg,
585 - void *cb_data)
584 +static void repair_noop(int iserr UNUSED,
585 + const char *path UNUSED,
586 + const char *msg UNUSED,
587 + void *cb_data UNUSED)
588 {
589 /* nothing */
590 }