Fix warning r=harishd

git-svn-id: svn://10.0.0.236/trunk@57871 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
pollmann%netscape.com
2000-01-15 01:41:27 +00:00
parent 7bb9a0c5e5
commit c082b8b9d4
2 changed files with 2 additions and 2 deletions

View File

@@ -359,7 +359,7 @@ nsHTMLLabelElement::HandleDOMEvent(nsIPresContext* aPresContext,
}
} else { // --- No FOR attribute, we are a label for our first child element
PRInt32 numNodes;
nsresult rv = mInner.ChildCount(numNodes);
rv = mInner.ChildCount(numNodes);
if (NS_SUCCEEDED(rv)) {
nsIContent* contNode = nsnull;
PRInt32 i;

View File

@@ -359,7 +359,7 @@ nsHTMLLabelElement::HandleDOMEvent(nsIPresContext* aPresContext,
}
} else { // --- No FOR attribute, we are a label for our first child element
PRInt32 numNodes;
nsresult rv = mInner.ChildCount(numNodes);
rv = mInner.ChildCount(numNodes);
if (NS_SUCCEEDED(rv)) {
nsIContent* contNode = nsnull;
PRInt32 i;