From e8c3a7dfce4ef669769510d64747d61a3e5c8452 Mon Sep 17 00:00:00 2001 From: aidan garske Date: Thu, 20 Jun 2024 15:03:51 -0700 Subject: [PATCH] fix for wolfcrypt/src/sha3.c (void)type --- wolfcrypt/src/sha3.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/wolfcrypt/src/sha3.c b/wolfcrypt/src/sha3.c index afc8bd5af..2d997407b 100644 --- a/wolfcrypt/src/sha3.c +++ b/wolfcrypt/src/sha3.c @@ -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; }