зеркало из https://github.com/mozilla/gecko-dev.git
remove the check on rv. we are already doing the right thing.
fix by=racham, r=sspitzer
This commit is contained in:
Родитель
241e1369ab
Коммит
db48fdc782
|
@ -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(¤tProfileStr);
|
||||
NS_ASSERTION(NS_SUCCEEDED(rv), "failed to get current profile");
|
||||
if (NS_FAILED(rv) || !currentProfileStr || (PL_strlen(currentProfileStr) == 0)) {
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче