]> git.ipfire.org Git - thirdparty/git.git/commit
fsmonitor: mark unused parameters in stub functions
authorJeff King <peff@peff.net>
Mon, 18 Sep 2023 22:32:38 +0000 (18:32 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 18 Sep 2023 22:56:15 +0000 (15:56 -0700)
commit4cb5e0b3b98c70912756551238b91fccf5f09c1e
treecb367d61ff50feb788a363aad69cbbed3b829dfb
parentcaf433bbdf5516d6b17420c952795e8debdb2a6f
fsmonitor: mark unused parameters in stub functions

The fsmonitor code has some platform-specific functions for which one or
more platforms implement noop or stub functions. We can't get rid of
these functions nor change their interface, since the point is to match
their equivalents in other platforms. But let's annotate their
parameters to quiet the compiler's -Wunused-parameter warning.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
compat/fsmonitor/fsm-health-darwin.c
compat/fsmonitor/fsm-path-utils-win32.c
fsmonitor-ipc.c