From 55be60a63e6c26c6d3ab537c4db28eb754baa5e5 Mon Sep 17 00:00:00 2001 From: Sean Parkinson Date: Wed, 20 Jan 2021 13:05:48 +1000 Subject: [PATCH] Compress: fix unused vars configure: C_EXTRA_FLAGS="-fdebug-types-section -g1" --disable-memory --enable-mcapi --enable-ecc --enable-sha512 --with-libz --- wolfcrypt/src/compress.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wolfcrypt/src/compress.c b/wolfcrypt/src/compress.c index 2859f253f..adebbf458 100644 --- a/wolfcrypt/src/compress.c +++ b/wolfcrypt/src/compress.c @@ -217,6 +217,9 @@ int wc_DeCompressDynamic(byte** out, int maxSz, int memoryType, word32 tmpSz = 0; byte* tmp; + (void)memoryType; + (void)heap; + if (out == NULL || in == NULL) { return BAD_FUNC_ARG; }