Bug 465626 - Fix GCC warning about using rv uninitialized. r+sr=jst, a191=beltzner.

This commit is contained in:
Blake Kaplan 2008-11-28 11:10:24 +01:00
parent f0ec5c81f8
commit 1871e9b443

View File

@ -240,7 +240,7 @@ TableRowsCollection::Init()
} while (0); \
} \
} \
} while (0);
} while (0)
static PRUint32
CountRowsInRowGroup(nsIDOMHTMLCollection* rows)
@ -293,7 +293,7 @@ GetItemOrCountInRowGroup(nsIDOMHTMLCollection* rows,
nsISupports*
TableRowsCollection::GetNodeAt(PRUint32 aIndex, nsresult *aResult)
{
nsresult rv;
nsresult rv = NS_OK;
DO_FOR_EACH_ROWGROUP(
PRUint32 count;
nsINode* node = GetItemOrCountInRowGroup(rows, aIndex, &count);