mirror of
https://github.com/transmission/transmission
synced 2024-12-25 01:03:01 +00:00
remove unused code
This commit is contained in:
parent
e1b84c659b
commit
429438d021
1 changed files with 1 additions and 2 deletions
|
@ -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])
|
||||
|
|
Loading…
Reference in a new issue