setup: mark unused parameter in config callback
This is logically a continuation of783a86c142
(config: mark unused callback parameters, 2022-08-19), but this case was introduced much later in4412a04fe6
(init.templateDir: consider this config setting protected, 2024-03-29). Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
f288a57789
commit
e2ef77cf7c
2
setup.c
2
setup.c
@ -1907,7 +1907,7 @@ struct template_dir_cb_data {
|
|||||||
};
|
};
|
||||||
|
|
||||||
static int template_dir_cb(const char *key, const char *value,
|
static int template_dir_cb(const char *key, const char *value,
|
||||||
const struct config_context *ctx, void *d)
|
const struct config_context *ctx UNUSED, void *d)
|
||||||
{
|
{
|
||||||
struct template_dir_cb_data *data = d;
|
struct template_dir_cb_data *data = d;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user