diff options
author | Jeff King <peff@peff.net> | 2024-08-17 10:25:16 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-08-17 18:46:23 +0200 |
commit | e2ef77cf7ccc4a030335c58654c0b100bdb75ec1 (patch) | |
tree | 739a546e6e2f93c28cab795fdd3be94b9e0de529 /setup.c | |
parent | test-mergesort: mark unused parameters in trivial callback (diff) | |
download | git-e2ef77cf7ccc4a030335c58654c0b100bdb75ec1.tar.xz git-e2ef77cf7ccc4a030335c58654c0b100bdb75ec1.zip |
setup: mark unused parameter in config callback
This is logically a continuation of 783a86c142 (config: mark unused
callback parameters, 2022-08-19), but this case was introduced much
later in 4412a04fe6 (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>
Diffstat (limited to '')
-rw-r--r-- | setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1907,7 +1907,7 @@ struct template_dir_cb_data { }; 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; |