Fix compilation error

This commit is contained in:
Gregory John Casamento 2024-08-03 21:44:02 -04:00
parent a1b9dc546e
commit d694efc941

View file

@ -1748,8 +1748,9 @@ Also returns the child index relative to this parent. */
id parentItem = (pItem == nil) ? (id)[NSNull null] : (id)pItem;
NSArray *children = NSMapGet(_itemDict, parentItem);
NSInteger childCount = [children count];
for (NSInteger index = 0; index < childCount; index++)
NSInteger index = 0;
for (index = 0; index < childCount; index++)
{
id childItem = [children objectAtIndex: index];