Compress: fix unused vars

configure: C_EXTRA_FLAGS="-fdebug-types-section -g1" --disable-memory
--enable-mcapi --enable-ecc --enable-sha512 --with-libz
This commit is contained in:
Sean Parkinson
2021-01-20 13:05:48 +10:00
parent eaa1bc1ace
commit 55be60a63e

View File

@@ -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;
}