grep: mark unused parmaeters in pcre fallbacks
commit4548b0145f17c633de5e267b6c7932c72824e9d3
authorJeff King <peff@peff.net>
Tue, 29 Aug 2023 23:45:34 +0000 (29 19:45 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 30 Aug 2023 00:56:26 +0000 (29 17:56 -0700)
treef9f3a5c084552549df93c6f2c82ce59202becf20
parent2c3c3d88fcda1558d8d57301c21bd548af71a04e
grep: mark unused parmaeters in pcre fallbacks

When USE_LIBPCRE2 is not defined, we compile several noop fallbacks.
These need to have their parameters annotated to avoid
-Wunused-parameter warnings (and obviously we cannot remove the
parameters, since the functions must match the non-fallback versions).

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