]> git.ipfire.org Git - thirdparty/git.git/commit
http-push: mark unused parameter in xml callback
authorJeff King <peff@peff.net>
Mon, 3 Jul 2023 06:44:08 +0000 (02:44 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 14 Jul 2023 00:23:59 +0000 (17:23 -0700)
commite519ac35af2f976323f23e83e47bfd03d920754f
tree3f03e3638649650235e62adc338726830c778cd3
parentd0144007b185f5da87f197ceacc4aa5548d4214e
http-push: mark unused parameter in xml callback

The xml_start_tag() function is passed the expat library's
XML_SetElementHandler() function, so it has to conform to the
expected interface. But we don't actually care about the attributes
list. Mark it so that -Wunused-parameter does not complain.

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