silence warning of unused parameter in certain builds

This commit is contained in:
Jacob Barthelmeh
2021-03-03 18:40:56 +07:00
parent 9db0257e2e
commit b801a6e809

View File

@ -88,6 +88,7 @@ int wc_InitCmac_ex(Cmac* cmac, const byte* key, word32 keySz,
(void)unused;
(void)heap;
(void)devId;
if (cmac == NULL || keySz == 0 || type != WC_CMAC_AES)
return BAD_FUNC_ARG;