]> git.ipfire.org Git - thirdparty/git.git/commit
daemon: mark unused parameters in non-posix fallbacks
authorJeff King <peff@peff.net>
Sat, 17 Aug 2024 08:25:32 +0000 (04:25 -0400)
committerJunio C Hamano <gitster@pobox.com>
Sat, 17 Aug 2024 16:46:24 +0000 (09:46 -0700)
commit0b1376d44866e6eae25523d8f1188495dab42ee8
tree2f4cd26363e1c0360b063e773173f9017d789fe7
parente2ef77cf7ccc4a030335c58654c0b100bdb75ec1
daemon: mark unused parameters in non-posix fallbacks

If NO_POSIX_GOODIES is set, we compile fallback versions of a few
functions. These don't do anything, so their parameters are unused, but
we must keep them to match the ones on the other side of the #ifdef.
Mark them to quiet -Wunused-parameter.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
daemon.c