Comment out some obviously dead code.

Coverity warned about it, it's harmless to comment out.
This commit is contained in:
Sebastian Hahn 2011-06-08 21:23:05 +02:00
parent e6fff7235e
commit 9e56ac27da

View File

@ -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: