Skip to content

Commit

Permalink
Addressed some code inspection warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
hschmidt committed Jan 6, 2017
1 parent 991f896 commit 3f67486
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
1 change: 0 additions & 1 deletion EnvLib/launchd_legacy.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
#include "launchd_legacy.h"

#include <errno.h>
#include <stdio.h>

#include "launch_priv.h"
#include "log.h"
Expand Down
6 changes: 2 additions & 4 deletions EnvPane/EnvPane.m
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@
#import "Error.h"
#import "NSDictionary+EnvLib.h"

#import <SecurityFoundation/SFAuthorization.h>
#import <ServiceManagement/ServiceManagement.h>

@implementation EnvPane

- (void) awakeFromNib
Expand Down Expand Up @@ -206,7 +203,8 @@ - (BOOL) installAgent: (NSError**) error
return NO_AssignError( error, NewError( @"Failed to load/start agent" ) );
}

return self.agentInstalled = YES;
self.agentInstalled = YES;
return YES;
}

- (void) presentError: (NSError*) error
Expand Down

0 comments on commit 3f67486

Please sign in to comment.