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>

Jeff King committed Sep 18, 2023 at 18:32 UTC caf433bbdf5516d6b17420c952795e8debdb2a6f
1 file changed +1 -1
compat/fsmonitor/fsm-settings-win32.c
+1 -1
@@ -25,7 +25,7 @@ static enum fsmonitor_reason check_vfs4git(struct repository *r)
25 return FSMONITOR_REASON_OK;
26 }
27
28 -enum fsmonitor_reason fsm_os__incompatible(struct repository *r, int ipc)
28 +enum fsmonitor_reason fsm_os__incompatible(struct repository *r, int ipc UNUSED)
29 {
30 enum fsmonitor_reason reason;
31