silence a warning

This commit is contained in:
Mitchell Livingston 2010-12-20 14:25:20 +00:00
parent b70dd6b137
commit 69f1e8ba0e
2 changed files with 4 additions and 1 deletions

View File

@ -149,7 +149,7 @@ typedef enum
#define WEBSITE_URL @"http://www.transmissionbt.com/"
#define FORUM_URL @"http://forum.transmissionbt.com/"
#define TRAC_URL @"http://trac.transmissionbt.com/"
#define TRAC_URL @"http://trac.transmissionbt.com/"
#define DONATE_URL @"http://www.transmissionbt.com/donate.php"
#define DONATE_NAG_TIME (60 * 60 * 24 * 7)

View File

@ -409,6 +409,9 @@ tr_session * fHandle;
[fPortStatusField setStringValue: NSLocalizedString(@"Port check site is down", "Preferences -> Network -> port status")];
[fPortStatusImage setImage: [NSImage imageNamed: @"YellowDot.png"]];
break;
default:
NSAssert1(NO, @"Port checker returned invalid status: %d", [fPortChecker status]);
return;
}
[fPortChecker release];
fPortChecker = nil;