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];
if (error) {
*outError = error;
if (outError )*outError = error;
return NO;
}
@ -108,7 +108,7 @@ static const char *TagToFormat(NSInteger tag)
return YES;
} else {
*outError = [NSError errorWithDomain: NSURLErrorDomain code: 1 userInfo: nil];
if (outError) *outError = [NSError errorWithDomain: NSURLErrorDomain code: 1 userInfo: nil];
return NO;
}
@ -131,6 +131,8 @@ static const char *TagToFormat(NSInteger tag)
[_handle release];
[_filePath release];
[_fileInfo release];
[super dealloc];
}