From 0f36cdf066cd1553cfa2153180e072efc00c7487 Mon Sep 17 00:00:00 2001 From: Eric Blankenhorn Date: Fri, 12 Jun 2020 10:43:01 -0500 Subject: [PATCH] Unused var error --- src/ssl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ssl.c b/src/ssl.c index 62b7b0414..97f523056 100644 --- a/src/ssl.c +++ b/src/ssl.c @@ -42972,8 +42972,10 @@ WOLF_STACK_OF(WOLFSSL_CIPHER) *wolfSSL_get_ciphers_compat(const WOLFSSL *ssl) { WOLF_STACK_OF(WOLFSSL_CIPHER)* ret = NULL; Suites* suites; +#if defined(OPENSSL_ALL) || defined(WOLFSSL_QT) const CipherSuiteInfo* cipher_names = GetCipherNames(); int cipherSz = GetCipherNamesSize(); +#endif WOLFSSL_ENTER("wolfSSL_get_ciphers_compat"); if (ssl == NULL || (ssl->suites == NULL && ssl->ctx->suites == NULL)) {