mirror of
https://github.com/git/git.git
synced 2024-09-28 08:49:45 +02:00
fsmonitor/win32: mark unused parameter in fsm_os__incompatible()
We never look at the "ipc" argument we receive. It was added in
8f44976882
(fsmonitor: avoid socket location check if using hook,
2022-10-04) to support the darwin fsmonitor code. The win32 code has to
match the same interface, but we should use an annotation to silence
-Wunused-parameter.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
f4c5778b2d
commit
caf433bbdf
@ -25,7 +25,7 @@ static enum fsmonitor_reason check_vfs4git(struct repository *r)
|
||||
return FSMONITOR_REASON_OK;
|
||||
}
|
||||
|
||||
enum fsmonitor_reason fsm_os__incompatible(struct repository *r, int ipc)
|
||||
enum fsmonitor_reason fsm_os__incompatible(struct repository *r, int ipc UNUSED)
|
||||
{
|
||||
enum fsmonitor_reason reason;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user