]> granicus.if.org Git - transmission/commitdiff
(libT) oops, fix a couple of new gcc "unused variable" warnings. Hi, titer.
authorCharles Kerr <charles@transmissionbt.com>
Wed, 29 Oct 2008 20:51:57 +0000 (20:51 +0000)
committerCharles Kerr <charles@transmissionbt.com>
Wed, 29 Oct 2008 20:51:57 +0000 (20:51 +0000)
libtransmission/handshake.c

index ea20c4731ee646a5084fbfd25ce585f102091093..acc9b509ca87f1319467e349f84342adcb3f307f 100644 (file)
@@ -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 );