From c9bcbd8c529cdc2e59793316f3b5ec9a67f70b14 Mon Sep 17 00:00:00 2001 From: JacobBarthelmeh Date: Mon, 30 Dec 2024 16:14:28 -0700 Subject: [PATCH] fix for dead code warning CID444417 --- src/ssl_certman.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ssl_certman.c b/src/ssl_certman.c index 77a3411325..6d18db5cbb 100644 --- a/src/ssl_certman.c +++ b/src/ssl_certman.c @@ -44,6 +44,7 @@ */ static WC_INLINE WOLFSSL_METHOD* cm_pick_method(void* heap) { + (void)heap; #ifndef NO_WOLFSSL_CLIENT #if !defined(NO_OLD_TLS) && defined(WOLFSSL_ALLOW_SSLV3) return wolfSSLv3_client_method_ex(heap); @@ -75,7 +76,6 @@ static WC_INLINE WOLFSSL_METHOD* cm_pick_method(void* heap) #else return NULL; #endif - (void)heap; } /* Create a new certificate manager with a heap hint.