mirror of
https://github.com/git-for-windows/git.git
synced 2025-12-13 16:47:36 -06: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;
|
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;
|
enum fsmonitor_reason reason;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user