diff --git a/Source/IGListAdapter.m b/Source/IGListAdapter.m index 5f57f34d..b9ab96b5 100644 --- a/Source/IGListAdapter.m +++ b/Source/IGListAdapter.m @@ -1054,8 +1054,7 @@ IGAssertMainThread(); IGParameterAssert(indexes != nil); IGParameterAssert(sectionController != nil); - UICollectionView *collectionView = self.collectionView; - IGAssert(collectionView != nil, @"Tried to reload the adapter from %@ without a collection view at indexes %@.", sectionController, indexes); + IGAssert(self.collectionView != nil, @"Tried to reload the adapter from %@ without a collection view at indexes %@.", sectionController, indexes); if (indexes.count == 0) { return;