Commit 8dd0bef92116fe365302f2139d28dbeb28e16e9d

nulltoken 2012-10-19T12:03:48

tests: Fix unused variable warning

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/tests-clar/status/worktree.c b/tests-clar/status/worktree.c
index fae43a1..908d345 100644
--- a/tests-clar/status/worktree.c
+++ b/tests-clar/status/worktree.c
@@ -414,7 +414,6 @@ void test_status_worktree__issue_592_ignored_dirs_with_tracked_content(void)
 void test_status_worktree__cannot_retrieve_the_status_of_a_bare_repository(void)
 {
 	git_repository *repo;
-	int error;
 	unsigned int status = 0;
 
 	cl_git_pass(git_repository_open(&repo, cl_fixture("testrepo.git")));