bug 1185726 - follow up to deal with -Wunused warning r=me landing on a CLOSED TREE

This commit is contained in:
Trevor Saunders 2015-07-21 13:35:48 -04:00
parent 7c58e78a7d
commit a77d9baf66

View File

@ -39,7 +39,7 @@ DocAccessibleParent::RecvShowEvent(const ShowEventData& aData)
return true;
}
uint32_t consumed = AddSubtree(parent, aData.NewTree(), 0, newChildIdx);
DebugOnly<uint32_t> consumed = AddSubtree(parent, aData.NewTree(), 0, newChildIdx);
MOZ_ASSERT(consumed == aData.NewTree().Length());
#ifdef DEBUG
for (uint32_t i = 0; i < consumed; i++) {