1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-24 08:43:27 +00:00

remove unused code

This commit is contained in:
Mitchell Livingston 2012-05-23 00:54:58 +00:00
parent e1b84c659b
commit 429438d021

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