]> Kevux Git Server - rit/commit
fsmonitor: mark unused hashmap callback parameters
authorJeff King <peff@peff.net>
Mon, 18 Sep 2023 22:33:14 +0000 (18:33 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 18 Sep 2023 22:56:15 +0000 (15:56 -0700)
commit1fe41944b268c5e999c5bbd9539e7dcd18c2c5de
treea9e0a32b05dd1e2a9c8492b21d49f8c7b1e2ad51
parent997eb910a644491b8793ae0459ee2c5d89f239f8
fsmonitor: mark unused hashmap callback parameters

Like many hashmap comparison functions, our cookies_cmp() does not look
at its extra void data parameter. This should have been annotated in
02c3c59e62 (hashmap: mark unused callback parameters, 2022-08-19), but
this new case was added around the same time (plus fsmonitor is not
built at all on Linux, so it is easy to miss there).

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