Bug 472348 - Some unused variables found by combing the warning database, rs=bz

This commit is contained in:
Benjamin Smedberg
2009-01-06 14:25:58 -05:00
parent f562dd9bdd
commit aa17adb54c
9 changed files with 3 additions and 11 deletions

View File

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