From 2631b5a1cd3325cedc2af1a0c72a5c1110d0af54 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sat, 6 Nov 2021 18:20:14 -0700 Subject: [PATCH] endElement: squash -Wunused-parameter warning --- lib/common/htmllex.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/common/htmllex.c b/lib/common/htmllex.c index e7b590344..4f5bfafe7 100644 --- a/lib/common/htmllex.c +++ b/lib/common/htmllex.c @@ -673,6 +673,8 @@ static void startElement(void *user, const char *name, char **atts) static void endElement(void *user, const char *name) { + (void)user; + if (strcasecmp(name, "TABLE") == 0) { state.tok = T_end_table; state.inCell = 1; -- 2.40.0