diff --git a/gtk/details.c b/gtk/details.c index ae8d13ed2..cd855b3c9 100644 --- a/gtk/details.c +++ b/gtk/details.c @@ -796,14 +796,11 @@ refreshInfo( struct DetailsImpl * di, tr_torrent ** torrents, int n ) uint64_t leftUntilDone = 0; uint64_t haveUnchecked = 0; uint64_t haveValid = 0; - uint32_t verifiedPieces = 0; uint64_t available = 0; for( i=0; ihaveUnchecked; haveValid += st->haveValid; - verifiedPieces += inf->pieceSize ? st->haveValid / inf->pieceSize : 0; sizeWhenDone += st->sizeWhenDone; leftUntilDone += st->leftUntilDone; available += st->sizeWhenDone - st->leftUntilDone + st->desiredAvailable;