Bug 542702 - Remove unused variable childLength in nsXFormsAccessible::CacheSelectChildren. r=surkov

This commit is contained in:
David Bolter 2010-02-01 21:27:35 -05:00
Родитель 50ea5311f7
Коммит be6baee47b
1 изменённых файлов: 0 добавлений и 1 удалений

Просмотреть файл

@ -125,7 +125,6 @@ nsXFormsAccessible::CacheSelectChildren(nsIDOMNode *aContainerNode)
nsCOMPtr<nsIAccessible> accessible; nsCOMPtr<nsIAccessible> accessible;
nsRefPtr<nsAccessible> acc; nsRefPtr<nsAccessible> acc;
PRUint32 childLength = 0;
for (PRUint32 index = 0; index < length; index++) { for (PRUint32 index = 0; index < length; index++) {
nsCOMPtr<nsIDOMNode> child; nsCOMPtr<nsIDOMNode> child;
children->Item(index, getter_AddRefs(child)); children->Item(index, getter_AddRefs(child));