#1619: Removed commenting out the actualt error check
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -532,7 +532,7 @@ FOUNDATION_STATIC_INLINE NSUInteger SDCacheCostForImage(UIImage *image) { | @@ -532,7 +532,7 @@ FOUNDATION_STATIC_INLINE NSUInteger SDCacheCostForImage(UIImage *image) { | ||
532 | NSDictionary *resourceValues = [fileURL resourceValuesForKeys:resourceKeys error:&error]; | 532 | NSDictionary *resourceValues = [fileURL resourceValuesForKeys:resourceKeys error:&error]; |
533 | 533 | ||
534 | // Skip directories and errors. | 534 | // Skip directories and errors. |
535 | - if (/*error || */[resourceValues[NSURLIsDirectoryKey] boolValue]) { | 535 | + if (error || [resourceValues[NSURLIsDirectoryKey] boolValue]) { |
536 | continue; | 536 | continue; |
537 | } | 537 | } |
538 | 538 |
-
Please register or login to post a comment