1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-03-19 02:05:32 +00:00

remove a warning

This commit is contained in:
Mitchell Livingston 2009-09-17 01:15:00 +00:00
parent 692d35c018
commit fd934eeaff
2 changed files with 1 additions and 3 deletions

View file

@ -1783,8 +1783,6 @@ typedef enum
return;
}
Torrent * torrent = [fTorrents objectAtIndex: 0];
if ([[NSUserDefaults standardUserDefaults] boolForKey: @"WarningRemoveTrackers"])
{
NSAlert * alert = [[NSAlert alloc] init];
@ -1819,6 +1817,7 @@ typedef enum
[fTrackers removeObjectsAtIndexes: indexes];
Torrent * torrent = [fTorrents objectAtIndex: 0];
[torrent updateAllTrackersForRemove: fTrackers];
[fTrackerTable deselectAll: self];

View file

@ -779,7 +779,6 @@ int trashDataFile(const char * filename)
return YES;
}
#warning needed?
- (void) updateAllTrackersForRemove: (NSMutableArray *) trackers
{
[self updateAllTrackers: trackers];