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) {
return proposedExtension;
}
NSString *actualExtension = self.fileURL.pathExtension;
return actualExtension;
return self.fileURL.pathExtension;
}
- (NSData *)dataOfType:(NSString *)typeName error:(NSError * _Nullable __autoreleasing *)outError {