]> git.99rst.org Git - git.git/commit
grep: mark unused parmaeters in pcre fallbacks
authorJeff King <redacted>
Tue, 29 Aug 2023 23:45:34 +0000 (19:45 -0400)
committerJunio C Hamano <redacted>
Wed, 30 Aug 2023 00:56:26 +0000 (17:56 -0700)
commit4548b0145f17c633de5e267b6c7932c72824e9d3
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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
grep.c
git clone https://git.99rst.org/PROJECT