Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
remove redundant control flow
Browse files Browse the repository at this point in the history
  • Loading branch information
incanus committed Oct 4, 2016
1 parent d240ba9 commit 18cd62a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/darwin/src/MGLMultiPoint.mm
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ - (void)setCoordinates:(CLLocationCoordinate2D *)coords range:(NSRange)range
// replacing existing coordinate(s)
memcpy(_coordinates + range.location, coords, range.length * sizeof(CLLocationCoordinate2D));
}
else if (NSMaxRange(range) > _count)
else
{
// appending new coordinate(s)
NSUInteger newCount = NSMaxRange(range);
Expand Down

0 comments on commit 18cd62a

Please sign in to comment.