mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
Solved compilation warnings
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
@implementation PBArgumentPickerController
|
||||
|
||||
- initWithCommandWithParameter:(PBCommandWithParameter *) aCommand {
|
||||
if (self = [super initWithWindowNibName:@"PBArgumentPicker" owner:self]) {
|
||||
if ((self = [super initWithWindowNibName:@"PBArgumentPicker" owner:self])) {
|
||||
cmdWithParameter = [aCommand retain];
|
||||
}
|
||||
return self;
|
||||
|
||||
@@ -15,7 +15,7 @@ static NSString * const kCommandKey = @"command";
|
||||
@implementation PBGitResetController
|
||||
|
||||
- (id) initWithRepository:(PBGitRepository *) repo {
|
||||
if (self = [super init]){
|
||||
if ((self = [super init])){
|
||||
repository = [repo retain];
|
||||
}
|
||||
return self;
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
@synthesize submodules;
|
||||
|
||||
- (id) initWithRepository:(PBGitRepository *) repo {
|
||||
if (self = [super init]){
|
||||
if ((self = [super init])){
|
||||
repository = [repo retain];
|
||||
}
|
||||
return self;
|
||||
|
||||
Reference in New Issue
Block a user