silence a warning
This commit is contained in:
parent
b70dd6b137
commit
69f1e8ba0e
|
@ -409,6 +409,9 @@ tr_session * fHandle;
|
||||||
[fPortStatusField setStringValue: NSLocalizedString(@"Port check site is down", "Preferences -> Network -> port status")];
|
[fPortStatusField setStringValue: NSLocalizedString(@"Port check site is down", "Preferences -> Network -> port status")];
|
||||||
[fPortStatusImage setImage: [NSImage imageNamed: @"YellowDot.png"]];
|
[fPortStatusImage setImage: [NSImage imageNamed: @"YellowDot.png"]];
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
NSAssert1(NO, @"Port checker returned invalid status: %d", [fPortChecker status]);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
[fPortChecker release];
|
[fPortChecker release];
|
||||||
fPortChecker = nil;
|
fPortChecker = nil;
|
||||||
|
|
Loading…
Reference in New Issue