(trunk libT) #3836 "libevent2 support" -- silence a pair of 'unused variable' compiler warnings
This commit is contained in:
parent
dc4880a477
commit
dc5a61be49
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue