Remove unused return statement

This commit is contained in:
Max Radermacher 2022-09-06 11:55:45 -07:00 committed by Evan Hahn
parent 87d9e5df2a
commit 222bec2fb4

View File

@ -45,7 +45,6 @@ public final class MediaGalleryManager: NSObject {
transaction: GRDBWriteTransaction) throws -> MediaGalleryRecord? {
guard let attachmentRowId = attachmentStream.grdbId else {
throw OWSAssertionError("attachmentRowId was unexpectedly nil")
return nil
}
guard let messageUniqueId = attachmentStream.albumMessageId else {