mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-23 22:47:12 +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
1 changed files with 2 additions and 2 deletions
|
@ -775,8 +775,8 @@ circuit_get_by_circid_orconn_impl(circid_t circ_id, or_connection_t *conn)
|
||||||
return found->circuit;
|
return found->circuit;
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
/* The rest of this checks for bugs. Disabled by default. */
|
/* The rest of this checks for bugs. Disabled by default. */
|
||||||
|
/* We comment it out because coverity complains otherwise.
|
||||||
{
|
{
|
||||||
circuit_t *circ;
|
circuit_t *circ;
|
||||||
for (circ=global_circuitlist;circ;circ = circ->next) {
|
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 NULL;
|
||||||
}
|
} */
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Return a circ such that:
|
/** Return a circ such that:
|
||||||
|
|
Loading…
Add table
Reference in a new issue