silence a warning
This commit is contained in:
parent
b70dd6b137
commit
69f1e8ba0e
|
@ -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)
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue