Skip to content

Commit

Permalink
Don't assign an object to a temp variable thats only used once, just …
Browse files Browse the repository at this point in the history
…use it once
  • Loading branch information
Zach Drayer committed Jul 10, 2011
1 parent a49d5fe commit bd427c5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions TFHppleElement.m
Expand Up @@ -76,8 +76,7 @@ - (NSArray *) children
{
NSMutableArray *children = [NSMutableArray array];
for (NSDictionary *child in [node objectForKey:TFHppleNodeChildrenKey]) {
TFHppleElement *element = [TFHppleElement hppleElementWithNode:child];
[children addObject:element];
[children addObject:[TFHppleElement hppleElementWithNode:child]];
}
return children;
}
Expand Down

0 comments on commit bd427c5

Please sign in to comment.