clang warnings.

This commit is contained in:
Kelvin Sherlock 2016-08-18 09:18:48 -04:00
parent 0ac2bf2321
commit d5defb48bb
1 changed files with 4 additions and 2 deletions

View File

@ -98,7 +98,7 @@ static const char *TagToFormat(NSInteger tag)
dict = [manager attributesOfItemAtPath: path error: &error]; dict = [manager attributesOfItemAtPath: path error: &error];
if (error) { if (error) {
*outError = error; if (outError )*outError = error;
return NO; return NO;
} }
@ -108,7 +108,7 @@ static const char *TagToFormat(NSInteger tag)
return YES; return YES;
} else { } else {
*outError = [NSError errorWithDomain: NSURLErrorDomain code: 1 userInfo: nil]; if (outError) *outError = [NSError errorWithDomain: NSURLErrorDomain code: 1 userInfo: nil];
return NO; return NO;
} }
@ -131,6 +131,8 @@ static const char *TagToFormat(NSInteger tag)
[_handle release]; [_handle release];
[_filePath release]; [_filePath release];
[_fileInfo release];
[super dealloc]; [super dealloc];
} }