summaryrefslogtreecommitdiff
path: root/src/or/relay.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-06-02 12:44:54 +0000
committerNick Mathewson <nickm@torproject.org>2007-06-02 12:44:54 +0000
commit5b6d7f10f3e1748d8437720d001554abddaa0fd9 (patch)
tree2d3851802716e94af01283e4998babab7a5f427e /src/or/relay.c
parent3431377d86e0891a41ce0882069c16f3f87d2142 (diff)
downloadtor-5b6d7f10f3e1748d8437720d001554abddaa0fd9.tar.gz
tor-5b6d7f10f3e1748d8437720d001554abddaa0fd9.zip
r13143@catbus: nickm | 2007-06-01 16:43:40 -0400
Try to fix some mipspro compiler warnings. There will still be some left. svn:r10444
Diffstat (limited to 'src/or/relay.c')
-rw-r--r--src/or/relay.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/or/relay.c b/src/or/relay.c
index d83247d16c..0a34687d6c 100644
--- a/src/or/relay.c
+++ b/src/or/relay.c
@@ -525,10 +525,8 @@ connection_edge_send_command(edge_connection_t *fromconn,
size_t payload_len)
{
/* XXXX NM Split this function into a separate versions per circuit type? */
- crypt_path_t *cpath_layer;
circuit_t *circ;
tor_assert(fromconn);
- cpath_layer = fromconn ? fromconn->cpath_layer : NULL;
circ = fromconn->on_circuit;
if (fromconn->_base.marked_for_close) {
@@ -1890,14 +1888,14 @@ void
circuit_clear_cell_queue(circuit_t *circ, or_connection_t *orconn)
{
cell_queue_t *queue;
- int streams_blocked;
+ // int streams_blocked; // XXXX020 use this for something, or remove it.
if (circ->n_conn == orconn) {
queue = &circ->n_conn_cells;
- streams_blocked = circ->streams_blocked_on_n_conn;
+ // streams_blocked = circ->streams_blocked_on_n_conn;
} else {
or_circuit_t *orcirc = TO_OR_CIRCUIT(circ);
queue = &orcirc->p_conn_cells;
- streams_blocked = circ->streams_blocked_on_p_conn;
+ // streams_blocked = circ->streams_blocked_on_p_conn;
}
if (queue->n)