Commit d96aa8a9ca74a40502d86de4c36e0a54b1ed1dc7

nulltoken 2013-01-20T18:24:54

tests: Remove useless code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff --git a/tests-clar/checkout/crlf.c b/tests-clar/checkout/crlf.c
index 856d32b..38c0080 100644
--- a/tests-clar/checkout/crlf.c
+++ b/tests-clar/checkout/crlf.c
@@ -16,12 +16,7 @@ static git_repository *g_repo;
 
 void test_checkout_crlf__initialize(void)
 {
-	git_tree *tree;
-
 	g_repo = cl_git_sandbox_init("crlf");
-
-	cl_git_pass(git_repository_head_tree(&tree, g_repo));
-	git_tree_free(tree);
 }
 
 void test_checkout_crlf__cleanup(void)