summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Wellnhofer <wellnhofer@aevum.de>2017-11-09 17:56:31 +0100
committerNick Wellnhofer <wellnhofer@aevum.de>2017-11-09 17:56:31 +0100
commit772c06487b45d347d8c1387a217d930f6ab485d0 (patch)
treed85b4a3be8c760dd7437327d496ea19ee4510f76
parent86615e43bbac2315aa069ca3ef4712477d61605c (diff)
downloadlibxml2-772c06487b45d347d8c1387a217d930f6ab485d0.tar.gz
Fix unused parameter warning without ICU
-rw-r--r--encoding.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/encoding.c b/encoding.c
index 5dac8a14..de7b511a 100644
--- a/encoding.c
+++ b/encoding.c
@@ -1916,6 +1916,7 @@ static int
xmlEncInputChunk(xmlCharEncodingHandler *handler, unsigned char *out,
int *outlen, const unsigned char *in, int *inlen, int flush) {
int ret;
+ (void)flush;
if (handler->input != NULL) {
ret = handler->input(out, outlen, in, inlen);