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

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