CR: remove unnecessary assert

This commit is contained in:
Michael Kirk 2018-11-07 10:12:12 -06:00
parent 195c42b9c4
commit 3ff3779f17

View file

@ -2772,8 +2772,6 @@ typedef enum : NSUInteger {
{
OWSAssertIsOnMainThread();
for (SignalAttachment *attachment in attachments) {
// TODO: Should we assume non-nil or should we check for non-nil?
OWSAssertDebug(attachment != nil);
OWSAssertDebug(![attachment hasError]);
OWSAssertDebug([attachment mimeType].length > 0);
}