mirror of
https://github.com/transmission/transmission
synced 2024-12-26 01:27:28 +00:00
Remove unused missingBlockCount
This commit is contained in:
parent
c32491ab3a
commit
b79e6561c0
1 changed files with 0 additions and 2 deletions
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue