@@ -300,12 +300,14 @@ - (void)removeLastObject { size_t count = [self count]; - if (count > 0) - [self removeObjectAtIndex: count - 1]; + if (count == 0) + return; + + [self removeObjectAtIndex: count - 1]; } - (void)removeAllObjects { [self removeObjectsInRange: of_range(0, [self count])];