Skip to content

Commit 6b4d2e0

Browse files
committed
Explicit comparison to nil
1 parent 1dd20ba commit 6b4d2e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ObjectiveGit/GTRepository+Pull.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ @implementation GTRepository (Pull)
2424
#pragma mark - Pull
2525

2626
- (BOOL)pullBranch:(GTBranch *)branch fromRemote:(GTRemote *)remote withOptions:(NSDictionary *)options error:(NSError **)error progress:(GTRemoteFetchTransferProgressBlock)progressBlock {
27-
NSParameterAssert(branch);
28-
NSParameterAssert(remote);
27+
NSParameterAssert(branch != nil);
28+
NSParameterAssert(remote != nil);
2929

3030
GTRepository *repo = branch.repository;
3131

0 commit comments

Comments
 (0)