Skip to content

Commit

Permalink
fix for dead code warning CID444417
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobBarthelmeh committed Dec 30, 2024
1 parent 8d7c600 commit c9bcbd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ssl_certman.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit c9bcbd8

Please sign in to comment.