Permalink
Browse files

Missed an analyzer fix.

  • Loading branch information...
1 parent 77bb973 commit 1a8eb669ccc33d5477fb1c4fbd191265b0ae4847 @drichardson drichardson committed Jan 18, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 filesystems-objc/SpotlightFS/Source/SpotlightFS.m
@@ -459,7 +459,9 @@ - (NSDictionary *)attributesOfItemAtPath:(NSString *)path userData:(id)userData
- (NSString *)destinationOfSymbolicLinkAtPath:(NSString *)path error:(NSError **)error {
if (!path) {
if ( error ) {
- *error = [NSError errorWithPOSIXCode:EINVAL];
+ if ( error ) {
+ *error = [NSError errorWithPOSIXCode:EINVAL];
+ }
}
return nil;
}

0 comments on commit 1a8eb66

Please sign in to comment.