diff --git a/macosx/InfoWindowController.m b/macosx/InfoWindowController.m index 1b78b332e..60547d7ff 100644 --- a/macosx/InfoWindowController.m +++ b/macosx/InfoWindowController.m @@ -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]; diff --git a/macosx/Torrent.m b/macosx/Torrent.m index 48e7eaefd..36fb59ddc 100644 --- a/macosx/Torrent.m +++ b/macosx/Torrent.m @@ -779,7 +779,6 @@ int trashDataFile(const char * filename) return YES; } -#warning needed? - (void) updateAllTrackersForRemove: (NSMutableArray *) trackers { [self updateAllTrackers: trackers];