From 00757d8d33e89678d7acd2e77a926a85ed4ffb16 Mon Sep 17 00:00:00 2001 From: Jordan Lee Date: Thu, 3 Nov 2011 04:57:45 +0000 Subject: [PATCH] (trunk gtk) remove dead assignment --- gtk/details.c | 3 --- 1 file changed, 3 deletions(-) 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;