remove unused code

This commit is contained in:
Mitchell Livingston 2012-05-23 00:54:58 +00:00
parent e1b84c659b
commit 429438d021
1 changed files with 1 additions and 2 deletions

View File

@ -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])