#1619: Removed commenting out the actualt error check

This commit is contained in:
Jimmie Jensen 2016-09-22 10:27:33 +02:00
parent 3ef030e028
commit fb65b04983
1 changed files with 1 additions and 1 deletions

View File

@ -532,7 +532,7 @@ FOUNDATION_STATIC_INLINE NSUInteger SDCacheCostForImage(UIImage *image) {
NSDictionary *resourceValues = [fileURL resourceValuesForKeys:resourceKeys error:&error];
// Skip directories and errors.
if (/*error || */[resourceValues[NSURLIsDirectoryKey] boolValue]) {
if (error || [resourceValues[NSURLIsDirectoryKey] boolValue]) {
continue;
}