Skip to content

Commit

Permalink
Remove __attribute__((objc_precise_lifetime)) from tests
Browse files Browse the repository at this point in the history
  • Loading branch information
phatblat committed Apr 5, 2016
1 parent a3763e4 commit 4792166
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ObjectiveGitTests/GTOIDSpec.m
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
const git_oid *git_oid = NULL;

{
GTOID *testOID __attribute__((objc_precise_lifetime)) = [[GTOID alloc] initWithSHA:testSHA];
GTOID *testOID = [[GTOID alloc] initWithSHA:testSHA];
git_oid = testOID.git_oid;
}

Expand Down
2 changes: 1 addition & 1 deletion ObjectiveGitTests/GTSignatureSpec.m
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
const git_signature *git_signature = NULL;

{
GTSignature *testSignature __attribute__((objc_precise_lifetime)) = [[GTSignature alloc] initWithName:name email:email time:time];
GTSignature *testSignature = [[GTSignature alloc] initWithName:name email:email time:time];
git_signature = testSignature.git_signature;
}

Expand Down

0 comments on commit 4792166

Please sign in to comment.