Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

crypto: silence unused variable warning

`retry` is not used if SSL_PRINT_DEBUG is not defined.
  • Loading branch information...
commit 9edb9842742c0734a9063576ae283c86b90d0676 1 parent 8271800
@bnoordhuis bnoordhuis authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  src/node_crypto.cc
View
1  src/node_crypto.cc
@@ -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);
Please sign in to comment.
Something went wrong with that request. Please try again.