diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-10-10 21:25:52 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-10-10 21:25:52 -0400 |
commit | bd28322d3815a03ca04beb6d00052d613dbe226f (patch) | |
tree | e9ce3960612297ccd9b5eaad1bf0c6f1064db9de /src/or/channeltls.c | |
parent | cf994f7ad758af01d7cb9318bcf5be7e36c5c71b (diff) | |
download | tor-bd28322d3815a03ca04beb6d00052d613dbe226f.tar.gz tor-bd28322d3815a03ca04beb6d00052d613dbe226f.zip |
Remove variables; fix gcc 4.7 warnings
My GCC warns when variables are assigned to but never used. There
were a few like that in the 6816/6465 branches.
Diffstat (limited to 'src/or/channeltls.c')
-rw-r--r-- | src/or/channeltls.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/or/channeltls.c b/src/or/channeltls.c index 764de80a78..1a2956b755 100644 --- a/src/or/channeltls.c +++ b/src/or/channeltls.c @@ -917,7 +917,6 @@ void channel_tls_handle_var_cell(var_cell_t *var_cell, or_connection_t *conn) { channel_tls_t *chan; - int handshaking; #ifdef KEEP_TIMING_STATS /* how many of each cell have we seen so far this second? needs better @@ -953,8 +952,6 @@ channel_tls_handle_var_cell(var_cell_t *var_cell, or_connection_t *conn) return; } - handshaking = (TO_CONN(conn)->state != OR_CONN_STATE_OPEN); - if (TO_CONN(conn)->marked_for_close) return; |