mirror of
https://github.com/ksherlock/ProFUSE-Image-Opener.git
synced 2025-02-19 10:30:50 +00:00
clang warnings.
This commit is contained in:
parent
0ac2bf2321
commit
d5defb48bb
@ -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];
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user