]> granicus.if.org Git - libexpat/commitdiff
tests/runtests.c: Address byte_character_handler unused variables
authorSebastian Pipping <sebastian@pipping.org>
Tue, 13 Jun 2017 21:25:13 +0000 (23:25 +0200)
committerSebastian Pipping <sebastian@pipping.org>
Tue, 13 Jun 2017 21:38:01 +0000 (23:38 +0200)
expat/tests/runtests.c

index f84758017d96248edd97b55f6b27afd2bb06e225..55d9a4c3b373600cbc04f7325455e6266a8448ad 100644 (file)
@@ -2264,6 +2264,10 @@ byte_character_handler(void *userData,
         fail("Buffer length incorrect");
     if (s != buffer + offset)
         fail("Buffer position incorrect");
+#else
+    (void)userData;
+    (void)s;
+    (void)len;
 #endif
 }