mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-31 21:21:08 +00:00
fixing bad goto (as if there were good ones?)
This commit is contained in:
parent
7b508ab8c9
commit
032700a4f9
@ -267,7 +267,7 @@ nsIDOMNode* nsRange::CommonParent(nsIDOMNode* aNode1, nsIDOMNode* aNode2)
|
||||
if (!NS_SUCCEEDED(res))
|
||||
{
|
||||
NS_NOTREACHED("nsRange::CommonParent");
|
||||
goto errorLabel;
|
||||
return nsnull;
|
||||
}
|
||||
return theParent;
|
||||
}
|
||||
|
@ -267,7 +267,7 @@ nsIDOMNode* nsRange::CommonParent(nsIDOMNode* aNode1, nsIDOMNode* aNode2)
|
||||
if (!NS_SUCCEEDED(res))
|
||||
{
|
||||
NS_NOTREACHED("nsRange::CommonParent");
|
||||
goto errorLabel;
|
||||
return nsnull;
|
||||
}
|
||||
return theParent;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user