From 0f941152f58ed74e7c9dcd9f8afff87278ea5376 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Sat, 13 Jul 2019 12:08:25 -0700 Subject: [PATCH] COVA10157: expression is unused --- lib/tls/mbedtls/wrapper/library/ssl_lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tls/mbedtls/wrapper/library/ssl_lib.c b/lib/tls/mbedtls/wrapper/library/ssl_lib.c index 6d3e165f3..ec46fd827 100644 --- a/lib/tls/mbedtls/wrapper/library/ssl_lib.c +++ b/lib/tls/mbedtls/wrapper/library/ssl_lib.c @@ -1709,7 +1709,7 @@ _openssl_alpn_to_mbedtls(struct alpn_ctx *ac, char ***palpn_protos) if (!len) { *q++ = '\0'; count++; - len = *p++; + /* len = *p++; */ alpn_protos[count] = (char *)q; } alpn_protos[count] = NULL; /* last pointer ends list with NULL */