Bug 472348 - Some unused variables found by combing the warning database, rs=bz
This commit is contained in:
@@ -1710,7 +1710,6 @@ nsWSRunObject::GetCharBefore(WSPoint &aPoint, WSPoint *outPoint)
|
||||
outPoint->mOffset = 0;
|
||||
outPoint->mChar = 0;
|
||||
|
||||
nsresult res = NS_OK;
|
||||
nsCOMPtr<nsIDOMNode> pointTextNode(do_QueryInterface(aPoint.mTextNode));
|
||||
PRInt32 idx = mNodeArray.IndexOf(pointTextNode);
|
||||
if (idx == -1) return NS_OK; // can't find point, but it's not an error
|
||||
|
||||
Reference in New Issue
Block a user