Skip to content

Commit

Permalink
Merge pull request #8322 from JacobBarthelmeh/coverity
Browse files Browse the repository at this point in the history
fix for dead code warning CID444417
  • Loading branch information
douzzer authored Dec 30, 2024
2 parents 8d7c600 + c9bcbd8 commit d40698a
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 d40698a

Please sign in to comment.