mirror of https://github.com/nodejs/node.git
crypto: silence unused variable warning
`retry` is not used if SSL_PRINT_DEBUG is not defined.pull/22966/head
parent
827180097c
commit
9edb984274
|
@ -607,6 +607,7 @@ int Connection::HandleBIOError(BIO *bio, const char* func, int rv) {
|
|||
if (rv >= 0) return rv;
|
||||
|
||||
int retry = BIO_should_retry(bio);
|
||||
(void) retry; // unused if !defined(SSL_PRINT_DEBUG)
|
||||
|
||||
if (BIO_should_write(bio)) {
|
||||
DEBUG_PRINT("[%p] BIO: %s want write. should retry %d\n", ssl_, func, retry);
|
||||
|
|
Loading…
Reference in New Issue