Commit c2f18b9b068c20760bfce9cdc81ef4c13f3307b5

Edward Thomson 2016-05-26T10:51:16

cleanup: unused warning

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/tests/checkout/typechange.c b/tests/checkout/typechange.c
index c2949e3..1efea93 100644
--- a/tests/checkout/typechange.c
+++ b/tests/checkout/typechange.c
@@ -229,6 +229,9 @@ static int make_submodule_dirty(git_submodule *sm, const char *name, void *paylo
 	git_buf dirtypath = GIT_BUF_INIT;
 	git_repository *submodule_repo;
 
+	GIT_UNUSED(name);
+	GIT_UNUSED(payload);
+
 	/* remove submodule directory in preparation for init and repo_init */
 	cl_git_pass(git_buf_joinpath(
 		&submodulepath,