diff options
author | Junio C Hamano <gitster@pobox.com> | 2023-09-29 19:04:14 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-09-29 19:04:14 +0300 |
commit | 2affeb3cb57ec7124dc37743ace17a46921f8ce0 (patch) | |
tree | 30e8e3023a645e404860c058784321ffc696d26a /t/helper | |
parent | 2b04c3ce59ee9605c4a193c00c9cc92b384cd1cd (diff) | |
parent | 72da9832c21c96b2109408d9de7b6ce45fff8847 (diff) |
Merge branch 'jk/fsmonitor-unused-parameter'
Unused parameters in fsmonitor related code paths have been marked
as such.
* jk/fsmonitor-unused-parameter:
run-command: mark unused parameters in start_bg_wait callbacks
fsmonitor: mark unused hashmap callback parameters
fsmonitor/darwin: mark unused parameters in system callback
fsmonitor: mark unused parameters in stub functions
fsmonitor/win32: mark unused parameter in fsm_os__incompatible()
fsmonitor: mark some maybe-unused parameters
fsmonitor/win32: drop unused parameters
fsmonitor: prefer repo_git_path() to git_pathdup()
Diffstat (limited to 't/helper')
-rw-r--r-- | t/helper/test-simple-ipc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/t/helper/test-simple-ipc.c b/t/helper/test-simple-ipc.c index 3d1436da59..941ae7e3bc 100644 --- a/t/helper/test-simple-ipc.c +++ b/t/helper/test-simple-ipc.c @@ -278,7 +278,8 @@ static int daemon__run_server(void) static start_bg_wait_cb bg_wait_cb; -static int bg_wait_cb(const struct child_process *cp, void *cb_data) +static int bg_wait_cb(const struct child_process *cp UNUSED, + void *cb_data UNUSED) { int s = ipc_get_active_state(cl_args.path); |