Commit 6f6b0c013c6eff2aca2a7ada1027044f2e20f578

Michael Schubert 2012-10-24T15:42:09

tests-clar/repo: remove unused variable

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/tests-clar/repo/head.c b/tests-clar/repo/head.c
index 2294716..58f525e 100644
--- a/tests-clar/repo/head.c
+++ b/tests-clar/repo/head.c
@@ -180,8 +180,6 @@ void test_repo_head__retrieving_an_orphaned_head_returns_GIT_EORPHANEDHEAD(void)
 
 void test_repo_head__can_tell_if_an_orphaned_head_is_detached(void)
 {
-	git_reference *head;
-
 	make_head_orphaned(repo, NON_EXISTING_HEAD);
 
 	cl_assert_equal_i(false, git_repository_head_detached(repo));