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;