Skip to content

Commit

Permalink
Removed unused variable (#1188)
Browse files Browse the repository at this point in the history
Summary:
Issue fixed: #1187

- [x] All tests pass. Demo project builds and runs.
- [x] I added tests, an experiment, or detailed why my change isn't tested.
- [x] I added an entry to the `CHANGELOG.md` for any breaking changes, enhancements, or bug fixes.
- [x] I have reviewed the [contributing guide](https://github.com/Instagram/IGListKit/blob/master/.github/CONTRIBUTING.md)
Closes #1188

Differential Revision: D8204493

Pulled By: rnystrom

fbshipit-source-id: 52bf75e6436d95b127d44302c4eb6f0bfdc1da08
  • Loading branch information
bofeizhu authored and facebook-github-bot committed Jun 28, 2018
1 parent 6c64c54 commit c5f6406
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Source/IGListAdapter.m
Original file line number Diff line number Diff line change
Expand Up @@ -1080,8 +1080,7 @@ - (__kindof UICollectionReusableView *)dequeueReusableSupplementaryViewOfKind:(N
- (void)performBatchAnimated:(BOOL)animated updates:(void (^)(id<IGListBatchContext>))updates completion:(void (^)(BOOL))completion {
IGAssertMainThread();
IGParameterAssert(updates != nil);
UICollectionView *collectionView = self.collectionView;
IGAssert(collectionView != nil, @"Performing batch updates without a collection view.");
IGAssert(self.collectionView != nil, @"Performing batch updates without a collection view.");

[self _enterBatchUpdates];

Expand Down

0 comments on commit c5f6406

Please sign in to comment.