diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-12-06 11:45:06 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-12-17 14:50:05 -0500 |
commit | 8969d9e0b6b95e29713ffabc7cb4492a4dba2e28 (patch) | |
tree | 5aad5861ede9f304ad4424345a92f647cc662382 /src/or/connection_edge.c | |
parent | 8eb422e7bda1d9ffbd0032f343c7a00af6d81ef2 (diff) | |
download | tor-8969d9e0b6b95e29713ffabc7cb4492a4dba2e28.tar.gz tor-8969d9e0b6b95e29713ffabc7cb4492a4dba2e28.zip |
Fixed an unused-variable warning
Diffstat (limited to 'src/or/connection_edge.c')
-rw-r--r-- | src/or/connection_edge.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c index 61e57bfe2e..3207f588ec 100644 --- a/src/or/connection_edge.c +++ b/src/or/connection_edge.c @@ -2064,10 +2064,6 @@ connection_ap_handshake_socks_resolved(entry_connection_t *conn, size_t replylen; if (ttl >= 0) { - origin_circuit_t *origin_circ = NULL; - circuit_t *circ = ENTRY_TO_EDGE_CONN(conn)->on_circuit; - if (CIRCUIT_IS_ORIGIN(circ)) /* should always be true */ - origin_circ = TO_ORIGIN_CIRCUIT(circ); if (answer_type == RESOLVED_TYPE_IPV4 && answer_len == 4) { tor_addr_t a; tor_addr_from_ipv4n(&a, get_uint32(answer)); |