From 20eebf609239b389dbcf104c2c9033f6ccb8ccce Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Tue, 16 Jan 2007 04:20:45 +0000 Subject: [PATCH] remove unneeded function/warning --- libtransmission/tracker.c | 3 +-- macosx/TorrentCell.m | 9 +-------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/libtransmission/tracker.c b/libtransmission/tracker.c index 22e267c45..e8cade57c 100644 --- a/libtransmission/tracker.c +++ b/libtransmission/tracker.c @@ -235,8 +235,7 @@ static int shouldConnect( tr_tracker_t * tc ) } } /* The tracker rejected us (like 4XX code, unauthorized IP...), - don't hammer it - we'll probably get the same answer next time - anyway */ + don't hammer it - we'll probably get the same answer next time anyway */ else { if( now < tc->dateTry + 1000 * tc->interval + tc->randOffset ) diff --git a/macosx/TorrentCell.m b/macosx/TorrentCell.m index 55d19c109..b9fd14e59 100644 --- a/macosx/TorrentCell.m +++ b/macosx/TorrentCell.m @@ -72,19 +72,12 @@ fProgressEndGreen = [NSImage imageNamed: @"ProgressBarEndGreen.png"]; fProgressEndAdvanced = [NSImage imageNamed: @"ProgressBarEndAdvanced.png"]; - fErrorImage = [[NSImage imageNamed: @"Error.tiff"] copy]; + fErrorImage = [[NSImage imageNamed: @"Error.tiff"] copy]; //no need to release for some reason [fErrorImage setFlipped: YES]; } return self; } -- (void) dealloc -{ - #warning should work? - //[fErrorImage release]; - [super dealloc]; -} - - (void) placeBar: (NSImage *) barImage width: (float) width point: (NSPoint) point { if ([barImage size].width < width)