From 4c4bbf1c9e3af2d2ae00536ac6aa4d9f7e516861 Mon Sep 17 00:00:00 2001 From: "alexis.lagoutte@gmail.com" Date: Fri, 25 Mar 2016 15:25:26 +0000 Subject: [PATCH] =?UTF-8?q?GCC:=20fix=20variable=20=E2=80=98w=E2=80=99=20s?= =?UTF-8?q?et=20but=20not=20used=20[-Wunused-but-set-variable]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit FossilOrigin-Name: 79741d43da6831444e1d6321c02d3ffe3e2e24c606ff74fd9765ba89052bdcab --- src/cw/dtls_openssl.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/cw/dtls_openssl.c b/src/cw/dtls_openssl.c index 979a2d4d..c840302e 100644 --- a/src/cw/dtls_openssl.c +++ b/src/cw/dtls_openssl.c @@ -72,9 +72,6 @@ static void dtls_debug_cb(int write_p,int version,int type, const void * buf,siz static void dtls_info_cb (const SSL *ssl, int where, int ret) { const char *str = NULL; - int w; - - w = where & ~SSL_ST_MASK; str = where & SSL_ST_CONNECT ? "connect" : where & SSL_ST_ACCEPT ? "accept" : "undefined"; if (where & SSL_CB_LOOP)