GCC: fix variable ‘w’ set but not used [-Wunused-but-set-variable]
FossilOrigin-Name: 79741d43da6831444e1d6321c02d3ffe3e2e24c606ff74fd9765ba89052bdcab
This commit is contained in:
parent
bef4687d08
commit
4c4bbf1c9e
@ -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)
|
static void dtls_info_cb (const SSL *ssl, int where, int ret)
|
||||||
{
|
{
|
||||||
const char *str = NULL;
|
const char *str = NULL;
|
||||||
int w;
|
|
||||||
|
|
||||||
w = where & ~SSL_ST_MASK;
|
|
||||||
|
|
||||||
str = where & SSL_ST_CONNECT ? "connect" : where & SSL_ST_ACCEPT ? "accept" : "undefined";
|
str = where & SSL_ST_CONNECT ? "connect" : where & SSL_ST_ACCEPT ? "accept" : "undefined";
|
||||||
if (where & SSL_CB_LOOP)
|
if (where & SSL_CB_LOOP)
|
||||||
|
Loading…
Reference in New Issue
Block a user