projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8271800
)
crypto: silence unused variable warning
author
Ben Noordhuis
<info@bnoordhuis.nl>
Sun, 22 Jan 2012 17:19:10 +0000
(18:19 +0100)
committer
Ben Noordhuis
<info@bnoordhuis.nl>
Sun, 22 Jan 2012 17:20:03 +0000
(18:20 +0100)
`retry` is not used if SSL_PRINT_DEBUG is not defined.
src/node_crypto.cc
patch
|
blob
|
history
diff --git
a/src/node_crypto.cc
b/src/node_crypto.cc
index
9f73df3
..
5274120
100644
(file)
--- a/
src/node_crypto.cc
+++ b/
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);