mirror of
https://github.com/ksherlock/ProFUSE-Image-Opener.git
synced 2025-03-12 08:31:49 +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];
|
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];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user