fix for wolfcrypt/src/sha3.c (void)type

This commit is contained in:
aidan garske
2024-06-20 15:03:51 -07:00
parent 1ef9a8fe7c
commit e8c3a7dfce

View File

@ -823,10 +823,11 @@ static int wc_InitSha3(wc_Sha3* sha3, int type, void* heap, int devId)
#elif defined(WOLF_CRYPTO_CB)
sha3->devId = devId;
sha3->type = type;
#else
#endif /* WOLFSSL_ASYNC_CRYPT */
(void)devId;
(void)type;
#endif /* WOLFSSL_ASYNC_CRYPT */
return ret;
}