1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-26 01:27:28 +00:00

Remove unused missingBlockCount

This commit is contained in:
Mukund Sivaraman 2008-08-22 16:03:49 +00:00
parent c32491ab3a
commit b79e6561c0

View file

@ -552,7 +552,6 @@ tr_peerMgrPeerIsSeed( const tr_peerMgr * mgr,
struct tr_refill_piece
{
tr_priority_t priority;
int missingBlockCount;
int random;
uint32_t piece;
uint32_t peerCount;
@ -628,7 +627,6 @@ getPreferredPieces( Torrent * t,
setme->priority = inf->pieces[piece].priority;
setme->peerCount = 0;
setme->random = tr_stupidRandInt( INT_MAX );
setme->missingBlockCount = tr_cpMissingBlocksInPiece( tor->completion, piece );
for( k=0; k<peerCount; ++k ) {
const tr_peer * peer = peers[k];