diff options
author | Nick Mathewson <nickm@torproject.org> | 2013-02-04 11:34:23 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-02-04 11:34:23 -0500 |
commit | 7cde094fd538c5c68f37071c94f39b55020d786e (patch) | |
tree | 8753117d43fcd9ae309cf5a73109a256b03339e6 /src/or/onion.c | |
parent | 5ea9a90d682279e857efd63e2a829bd5a39b0178 (diff) | |
download | tor-7cde094fd538c5c68f37071c94f39b55020d786e.tar.gz tor-7cde094fd538c5c68f37071c94f39b55020d786e.zip |
Fix a warning when building with --disable-curve25519
It appears that the code for 7291 gave an unused-value warning when
built with --disable-curve25519.
Diffstat (limited to 'src/or/onion.c')
-rw-r--r-- | src/or/onion.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/onion.c b/src/or/onion.c index b9f5aa6c7d..d4a65022fc 100644 --- a/src/or/onion.c +++ b/src/or/onion.c @@ -82,6 +82,8 @@ have_room_for_onionskin(uint16_t type) if (type == ONION_HANDSHAKE_TYPE_TAP && tap_usec / 1000 > (uint64_t)options->MaxOnionQueueDelay * 2 / 3) return 0; +#else + (void) type; #endif return 1; |