From f7032c797e47a900d26dde746a156e65f7f2d2d2 Mon Sep 17 00:00:00 2001 From: Dragos Oancea Date: Fri, 31 Jan 2020 21:19:54 +0000 Subject: [PATCH] [sofia-sip] scan-build: Value stored to 'options' is never read - tls_init_context() --- libs/sofia-sip/libsofia-sip-ua/tport/tport_tls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/sofia-sip/libsofia-sip-ua/tport/tport_tls.c b/libs/sofia-sip/libsofia-sip-ua/tport/tport_tls.c index 8b079e9117..7c293ae803 100644 --- a/libs/sofia-sip/libsofia-sip-ua/tport/tport_tls.c +++ b/libs/sofia-sip/libsofia-sip-ua/tport/tport_tls.c @@ -394,7 +394,7 @@ int tls_init_context(tls_t *tls, tls_issues_t const *ti) ti->key)); } else { long options = SSL_OP_CIPHER_SERVER_PREFERENCE | SSL_OP_SINGLE_DH_USE; - options = SSL_CTX_set_options(tls->ctx, options); + SSL_CTX_set_options(tls->ctx, options); SU_DEBUG_3(("%s\n", "tls: initialized DHE")); } DH_free(dh);