1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 17:17:31 +00:00

remove unused variables

This commit is contained in:
Mitchell Livingston 2008-05-05 04:17:52 +00:00
parent 6fca3a366f
commit 85e66062eb

View file

@ -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;
}