Skip to content
Browse files

If we can't get a path - move on with life.

  • Loading branch information...
1 parent 2f8f346 commit d67a119191a1ae4f3945a7f0d9bd78aa40c16ae4 @schwa schwa committed Aug 21, 2011
Showing with 4 additions and 0 deletions.
  1. +4 −0 ApertureDuplicateFinder/ApertureLibraryProcessor.m
View
4 ApertureDuplicateFinder/ApertureLibraryProcessor.m
@@ -118,6 +118,10 @@ - (BOOL)main:(NSError **)outError
[theStatement enumerateObjectsWithOptions:NSEnumerationConcurrent usingBlock:^(CSqliteRow *row, NSUInteger idx, BOOL *stop) {
NSString *thePath = [row objectForKey:@"imagePath"];
+ if (thePath.length == 0)
+ {
+ return;
+ }
NSURL *theImageURL = [theMastersURL URLByAppendingPathComponent:thePath];
NSError *theError = NULL;

0 comments on commit d67a119

Please sign in to comment.
Something went wrong with that request. Please try again.