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:
parent
dc4880a477
commit
dc5a61be49
1 changed files with 0 additions and 2 deletions
|
@ -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 a new issue