Commit cef75d743006401121cfe9a9da63933cfc7ecec1

Vicent Marti 2011-04-08T12:41:17

Remove unused variables from test files

diff --git a/tests/t08-tag.c b/tests/t08-tag.c
index 62c65a3..de67fdd 100644
--- a/tests/t08-tag.c
+++ b/tests/t08-tag.c
@@ -121,11 +121,8 @@ END_TEST
 
 BEGIN_TEST(write1, "write a tag to the repository which points to an unknown oid should fail")
 	git_repository *repo;
-	git_tag *tag;
 	git_oid target_id, tag_id;
 	const git_signature *tagger;
-	git_reference *ref_tag;
-	git_object *zombie;
 
 	must_pass(git_repository_open(&repo, REPOSITORY_FOLDER));
 
diff --git a/tests/t09-tree.c b/tests/t09-tree.c
index 1ccce8e..80fc6ef 100644
--- a/tests/t09-tree.c
+++ b/tests/t09-tree.c
@@ -132,7 +132,6 @@ END_TEST
 
 BEGIN_TEST(write2, "write a tree from a memory")
 	git_repository *repo;
-	git_index *index;
 	git_treebuilder *builder;
 	git_tree *tree;
 	git_oid id;