]> granicus.if.org Git - transmission/commitdiff
(trunk libT) #3836 "libevent2 support" -- silence a pair of 'unused variable' compile...
authorCharles Kerr <charles@transmissionbt.com>
Mon, 20 Dec 2010 12:49:12 +0000 (12:49 +0000)
committerCharles Kerr <charles@transmissionbt.com>
Mon, 20 Dec 2010 12:49:12 +0000 (12:49 +0000)
libtransmission/peer-io.c

index bc031a9906f0c29f95a9d7f49572e1a0e83131f7..05a6a0bdb14235c17f6222e1d87ca4303a4faf6a 100644 (file)
@@ -269,8 +269,6 @@ tr_evbuffer_write( tr_peerIo * io, int fd, size_t howmuch )
     int e;
     int n;
     char errstr[256];
-    const size_t len = evbuffer_get_length( io->outbuf );
-    const int vecCount = evbuffer_peek( io->outbuf, len, NULL, NULL, 0 );
 
     EVUTIL_SET_SOCKET_ERROR( 0 );
     n = evbuffer_write_atmost( io->outbuf, fd, howmuch );