]> Kevux Git Server - rit/commit
apply: mark unused parameters in noop error/warning routine
authorJeff King <peff@peff.net>
Tue, 18 Oct 2022 01:08:51 +0000 (21:08 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 18 Oct 2022 04:24:04 +0000 (21:24 -0700)
commit7506535775186a9223293e09948d253d7c9d8483
tree2f60bfa506e2776bb5c829369a6858e12662e264
parent0cff86990cbae9d5c8ca78cd09cb58f74828979b
apply: mark unused parameters in noop error/warning routine

We squelch error/warning output by passing a noop handler to
set_error_routine(). We need to tell the compiler that this is intended
so that it doesn't trigger -Wunused-parameter.

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