(trunk libT) #3836 "libevent2 support" -- silence a pair of 'unused variable' compiler warnings

This commit is contained in:
Charles Kerr 2010-12-20 12:49:12 +00:00
parent dc4880a477
commit dc5a61be49
1 changed files with 0 additions and 2 deletions

View File

@ -269,8 +269,6 @@ tr_evbuffer_write( tr_peerIo * io, int fd, size_t howmuch )
int e; int e;
int n; int n;
char errstr[256]; 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 ); EVUTIL_SET_SOCKET_ERROR( 0 );
n = evbuffer_write_atmost( io->outbuf, fd, howmuch ); n = evbuffer_write_atmost( io->outbuf, fd, howmuch );