1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-24 08:43:27 +00:00

(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

View 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 );