From a869ae9687839b08a44c2ec25ea92f424db34e6b Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Sat, 26 Oct 2019 18:34:25 +0200 Subject: [PATCH] zlib: unused parameter warning --- common/zlib/trees.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/common/zlib/trees.c b/common/zlib/trees.c index 8d230426e..1ef49d00d 100644 --- a/common/zlib/trees.c +++ b/common/zlib/trees.c @@ -923,6 +923,10 @@ charf *buf; /* input block, or NULL if too old */ ulg stored_len; /* length of input block */ int last; /* one if this is the last block for a file */ { +#ifdef ZLIB_PM3_TUNED + (void) buf; + (void) stored_len; +#endif int max_blindex = 0; /* index of last bit length code of non zero freq */ #ifndef ZLIB_PM3_TUNED ulg opt_lenb, static_lenb; /* opt_len and static_len in bytes */