Git fork

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>

authored by

Jeff King and committed by
Junio C Hamano
caf433bb f4c5778b

+1 -1
+1 -1
compat/fsmonitor/fsm-settings-win32.c
··· 25 25 return FSMONITOR_REASON_OK; 26 26 } 27 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 29 { 30 30 enum fsmonitor_reason reason; 31 31