remove unnecessary assignment

This commit is contained in:
Michael Starke
2019-08-27 18:26:40 +02:00
parent 95275d9c8a
commit ec8ce8ec29

View File

@@ -178,8 +178,7 @@ NSString *const MPDocumentGroupKey = @"MPDocumentGrou
if(!self.fileURL) { if(!self.fileURL) {
return proposedExtension; return proposedExtension;
} }
NSString *actualExtension = self.fileURL.pathExtension; return self.fileURL.pathExtension;
return actualExtension;
} }
- (NSData *)dataOfType:(NSString *)typeName error:(NSError * _Nullable __autoreleasing *)outError { - (NSData *)dataOfType:(NSString *)typeName error:(NSError * _Nullable __autoreleasing *)outError {