mirror of
https://github.com/transmission/transmission
synced 2024-12-25 17:17:31 +00:00
remove unused variables
This commit is contained in:
parent
6fca3a366f
commit
85e66062eb
1 changed files with 0 additions and 3 deletions
|
@ -1279,14 +1279,11 @@ readBtMessage( tr_peermsgs * msgs, struct evbuffer * inbuf, size_t inlen )
|
|||
break;
|
||||
|
||||
case BT_BITFIELD: {
|
||||
const int clientIsSeed = tr_torrentIsSeed( msgs->torrent );
|
||||
int peerIsSeed;
|
||||
dbgmsg( msgs, "got a bitfield" );
|
||||
msgs->peerSentBitfield = 1;
|
||||
tr_peerIoReadBytes( msgs->io, inbuf, msgs->info->have->bits, msglen );
|
||||
updatePeerProgress( msgs );
|
||||
maybeSendFastAllowedSet( msgs );
|
||||
peerIsSeed = msgs->info->progress >= 1.0;
|
||||
fireNeedReq( msgs );
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue