1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-03-12 15:14:12 +00:00

remove unneeded function/warning

This commit is contained in:
Mitchell Livingston 2007-01-16 04:20:45 +00:00
parent 212ec30187
commit 20eebf6092
2 changed files with 2 additions and 10 deletions

View file

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

View file

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