Skip to content

Commit eb4005c

Browse files
committed
Fixed a bunch of compiler warnings
1 parent 56a2e8c commit eb4005c

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

EnvLib/Environment.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ + (Environment *) loadPlist
7171
return [self withDictionary: mutDict];
7272
}
7373

74-
- (BOOL) savePlist: (NSError **) error
74+
- (BOOL) savePlist: (NSError *__autoreleasing *) error
7575
{
7676
NSLog( @"Saving environment to %@", savedEnvironmentPath );
7777
return [_dict writeToFile: savedEnvironmentPath

EnvLib/NSDictionary+EnvLib.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ - (BOOL) writeToFile: (NSString *) path
2424
atomically: (BOOL) atomically
2525
createParent: (BOOL) createParent
2626
createAncestors: (BOOL) createAncestors
27-
error: (NSError **) error
27+
error: (NSError * __autoreleasing *) error
2828
{
2929
if( createAncestors && !createParent ) {
3030
@throw [NSException exceptionWithName: @"IllegalArgumentException"

EnvLib/NSFileManager+EnvLib.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ @implementation NSFileManager (EnvLib)
2121

2222
- (BOOL) ensureParentDirectoryExistsOf: (NSString *) childPath
2323
withIntermediateDirectories: (BOOL) withIntermediateDirectories
24-
error: (NSError **) error
24+
error: (NSError * __autoreleasing *) error
2525
{
2626
NSString *parentPath = [childPath stringByDeletingLastPathComponent];
2727
BOOL isDir = NO;

EnvPane/EnvPane.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ - (void) applyChanges
7474
}
7575
}
7676

77-
- (BOOL) installAgent: (NSError **) error
77+
- (BOOL) installAgent: (NSError *__autoreleasing *) error
7878
{
7979
NSBundle *bundle = self.bundle;
8080
NSURL *bundleUrl = bundle.bundleURL;

0 commit comments

Comments
 (0)