From: Sebastian Pipping Date: Sat, 9 Sep 2017 17:11:53 +0000 (+0200) Subject: runtests.c: Fix compilation for undefined XML_CONTEXT_BYTES X-Git-Tag: R_2_2_5~17^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9f166f82e86764d2f0701a85b875c678d7ae444b;p=libexpat runtests.c: Fix compilation for undefined XML_CONTEXT_BYTES Regression from 70d19d635a355da5b2cecf02ff6c01b3f56106ff Compile error was: runtests.c: In function ‘byte_character_handler’: runtests.c:4195:11: error: ‘s’ undeclared (first use in this function) (void)s; --- diff --git a/expat/tests/runtests.c b/expat/tests/runtests.c index 10e9e529..44cb6036 100644 --- a/expat/tests/runtests.c +++ b/expat/tests/runtests.c @@ -4192,7 +4192,6 @@ byte_character_handler(void *userData, fail("Character byte count incorrect"); #else (void)userData; - (void)s; (void)len; #endif }