diff options
author | Junio C Hamano <gitster@pobox.com> | 2024-08-26 20:32:22 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-08-26 20:32:23 +0200 |
commit | 2b30d66c437b156762a0552d01e3825881080c23 (patch) | |
tree | 17424f723dcb5b4f53d7b4e6cf203880f32b5ebb /setup.c | |
parent | Merge branch 'jk/drop-unused-parameters' (diff) | |
parent | t-hashmap: stop calling setup() for t_intern() test (diff) | |
download | git-2b30d66c437b156762a0552d01e3825881080c23.tar.xz git-2b30d66c437b156762a0552d01e3825881080c23.zip |
Merge branch 'jk/mark-unused-parameters'
Mark unused parameters as UNUSED to squelch -Wunused warnings.
* jk/mark-unused-parameters:
t-hashmap: stop calling setup() for t_intern() test
scalar: mark unused parameters in dummy function
daemon: mark unused parameters in non-posix fallbacks
setup: mark unused parameter in config callback
test-mergesort: mark unused parameters in trivial callback
t-hashmap: mark unused parameters in callback function
reftable: mark unused parameters in virtual functions
reftable: drop obsolete test function declarations
reftable: ignore unused argc/argv in test functions
unit-tests: ignore unused argc/argv
t/helper: mark more unused argv/argc arguments
oss-fuzz: mark unused argv/argc argument
refs: mark unused parameters in do_for_each_reflog_helper()
refs: mark unused parameters in ref_store fsck callbacks
update-ref: mark more unused parameters in parser callbacks
imap-send: mark unused parameter in ssl_socket_connect() fallback
Diffstat (limited to 'setup.c')
-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; |