remove the check on rv. we are already doing the right thing.

fix by=racham, r=sspitzer
This commit is contained in:
sspitzer%netscape.com 1999-12-07 01:58:26 +00:00
Родитель 241e1369ab
Коммит db48fdc782
1 изменённых файлов: 0 добавлений и 1 удалений

Просмотреть файл

@ -559,7 +559,6 @@ static nsresult main1(int argc, char* argv[])
// this can happen, if the user hits Cancel or Exit in the profile manager dialogs
char *currentProfileStr = nsnull;
rv = profileMgr->GetCurrentProfile(&currentProfileStr);
NS_ASSERTION(NS_SUCCEEDED(rv), "failed to get current profile");
if (NS_FAILED(rv) || !currentProfileStr || (PL_strlen(currentProfileStr) == 0)) {
return NS_ERROR_FAILURE;
}