From 429438d021c752c38fb93bf7bc842559e10f6aee Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Wed, 23 May 2012 00:54:58 +0000 Subject: [PATCH] remove unused code --- macosx/Controller.m | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/macosx/Controller.m b/macosx/Controller.m index 8e116b799..1636b46ea 100644 --- a/macosx/Controller.m +++ b/macosx/Controller.m @@ -1759,7 +1759,7 @@ static void sleepCallback(void * controller, io_service_t y, natural_t messageTy - (void) updateUI { CGFloat dlRate = 0.0, ulRate = 0.0; - BOOL anyCompleted = NO, anyActive = NO; + BOOL anyCompleted = NO; for (Torrent * torrent in fTorrents) { [torrent update]; @@ -1769,7 +1769,6 @@ static void sleepCallback(void * controller, io_service_t y, natural_t messageTy ulRate += [torrent uploadRate]; anyCompleted |= [torrent isFinishedSeeding]; - anyActive |= [torrent isActive]; } if (![NSApp isHidden]) -- 2.40.0