mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
Comment out some obviously dead code.
Coverity warned about it, it's harmless to comment out.
This commit is contained in:
parent
e6fff7235e
commit
9e56ac27da
@ -775,8 +775,8 @@ circuit_get_by_circid_orconn_impl(circid_t circ_id, or_connection_t *conn)
|
||||
return found->circuit;
|
||||
|
||||
return NULL;
|
||||
|
||||
/* The rest of this checks for bugs. Disabled by default. */
|
||||
/* We comment it out because coverity complains otherwise.
|
||||
{
|
||||
circuit_t *circ;
|
||||
for (circ=global_circuitlist;circ;circ = circ->next) {
|
||||
@ -795,7 +795,7 @@ circuit_get_by_circid_orconn_impl(circid_t circ_id, or_connection_t *conn)
|
||||
}
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
} */
|
||||
}
|
||||
|
||||
/** Return a circ such that:
|
||||
|
Loading…
Reference in New Issue
Block a user