#1619: Removed commenting out the actualt error check
This commit is contained in:
parent
3ef030e028
commit
fb65b04983
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue