help: mark unused parameter in git_unknown_cmd_config()

The extra callback parameter became unused in 0918d08887 (help.c: fix autocorrect in work tree for bare repository, 2022-10-29), but we can't get rid of it because we must conform to the config callback interface. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Jeff King committed Feb 24, 2023 at 01:39 UTC 506ebaac96b7d9a42853c16d0523fd493b7991da
1 file changed +2 -1
help.c
+2 -1
@@ -540,7 +540,8 @@ static struct cmdnames aliases;
540 #define AUTOCORRECT_NEVER (-2)
541 #define AUTOCORRECT_IMMEDIATELY (-1)
542
543 -static int git_unknown_cmd_config(const char *var, const char *value, void *cb)
543 +static int git_unknown_cmd_config(const char *var, const char *value,
544 + void *cb UNUSED)
545 {
546 const char *p;
547