]> git.ipfire.org Git - thirdparty/git.git/commit
fsmonitor/win32: mark unused parameter in fsm_os__incompatible()
authorJeff King <peff@peff.net>
Mon, 18 Sep 2023 22:32:05 +0000 (18:32 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 18 Sep 2023 22:56:15 +0000 (15:56 -0700)
commitcaf433bbdf5516d6b17420c952795e8debdb2a6f
tree92c8dc306d729e053361743bc78e87f44a154042
parentf4c5778b2dca447ae130cfab6cc9b7b614e7ec43
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>
compat/fsmonitor/fsm-settings-win32.c