Skip to content

Commit e8533f3

Browse files
committed
fixes waring
1 parent be872e9 commit e8533f3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Source/DataProvider/DataProvider/FetchedResultsDataProvider.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,8 @@ public final class FetchedResultsDataProvider<Object: NSFetchRequestResult>: NSO
125125
case .delete:
126126
guard let indexPath = indexPath else { fatalError("Index path should be not nil") }
127127
updates.append(.delete(indexPath))
128+
@unknown default:
129+
print("Sourcing: Unknown Event at: controller(_ controller: NSFetchedResultsController<NSFetchRequestResult>, didChange anObject: Any, at indexPath: IndexPath?, for type: NSFetchedResultsChangeType, newIndexPath: IndexPath?)")
128130
}
129131
}
130132

0 commit comments

Comments
 (0)