From 6a954ef95c7355ab7261da78bf465ca9a0247ef0 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Wed, 29 Oct 2008 20:51:57 +0000 Subject: [PATCH] (libT) oops, fix a couple of new gcc "unused variable" warnings. Hi, titer. --- libtransmission/handshake.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libtransmission/handshake.c b/libtransmission/handshake.c index ea20c4731..acc9b509c 100644 --- a/libtransmission/handshake.c +++ b/libtransmission/handshake.c @@ -927,7 +927,6 @@ static int readIA( tr_handshake * handshake, struct evbuffer * inbuf ) { - int i; const size_t needlen = handshake->ia_len; struct evbuffer * outbuf; uint32_t crypto_select; @@ -1006,7 +1005,6 @@ readPayloadStream( tr_handshake * handshake, { int i; const size_t needlen = HANDSHAKE_SIZE; - struct evbuffer * outbuf; dbgmsg( handshake, "reading payload stream... have %d, need %d", (int)EVBUFFER_LENGTH( inbuf ), (int)needlen );