]> git.ipfire.org Git - thirdparty/git.git/commit
fsmonitor/win32: drop unused parameters
authorJeff King <peff@peff.net>
Mon, 18 Sep 2023 22:30:01 +0000 (18:30 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 18 Sep 2023 22:56:14 +0000 (15:56 -0700)
commit42e862c0b3127736040790a11a4f44a0dee69888
treed53369ca589539c72a300b40556536a46b8345ca
parent00df20a7ab4a4de355f69157acfd2502ab58a3aa
fsmonitor/win32: drop unused parameters

A few helper functions (centered around file-watch events) take extra
fsmonitor state parameters that they don't use. These are static helpers
local to the win32 implementation, and don't need to conform to any
particular interface. We can just drop the extra parameters, which
simplifies the code and silences -Wunused-parameter.

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