diff --git a/Source/IGListAdapter.m b/Source/IGListAdapter.m index fed80644..936f9b81 100644 --- a/Source/IGListAdapter.m +++ b/Source/IGListAdapter.m @@ -1080,8 +1080,7 @@ - (void)performBatchAnimated:(BOOL)animated updates:(void (^)(id))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];