mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 465626 - Fix GCC warning about using rv uninitialized. r+sr=jst, a191=beltzner.
This commit is contained in:
parent
f0ec5c81f8
commit
1871e9b443
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user