Skip to content

Commit e2ef77c

Browse files
peffgitster
authored andcommitted
setup: mark unused parameter in config callback
This is logically a continuation of 783a86c (config: mark unused callback parameters, 2022-08-19), but this case was introduced much later in 4412a04 (init.templateDir: consider this config setting protected, 2024-03-29). Signed-off-by: Jeff King <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent f288a57 commit e2ef77c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1907,7 +1907,7 @@ struct template_dir_cb_data {
19071907
};
19081908

19091909
static int template_dir_cb(const char *key, const char *value,
1910-
const struct config_context *ctx, void *d)
1910+
const struct config_context *ctx UNUSED, void *d)
19111911
{
19121912
struct template_dir_cb_data *data = d;
19131913

0 commit comments

Comments
 (0)