From 6ea4bb1cc08212490d9fbd845e082fb4ba3d2782 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Petr=20P=C3=ADsa=C5=99?= Date: Fri, 2 Jan 2015 21:25:45 +0100 Subject: [PATCH] Silent an unused-argument warning on the element_start() --- src/physxml.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/physxml.c b/src/physxml.c index 75ecd86..dc6fc75 100644 --- a/src/physxml.c +++ b/src/physxml.c @@ -131,6 +131,10 @@ static void XMLCALL element_start(void *userData, const XML_Char *name, * size_t. */ const size_t boundary = index; + /* Silent warning about unused argument. + * This protype is expat's XML_StartElementHandler type. */ + (void)atts; + isds_log(ILF_XML, ILL_DEBUG, _("Start: name=%s, depth=%zd, offset=%#jx " "=> boundary=%#zx\n"), name, data->depth, (uintmax_t)index, boundary); -- 2.11.4.GIT