summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@github.com>2016-05-26 10:51:16 -0500
committerEdward Thomson <ethomson@github.com>2016-06-01 10:03:51 -0500
commitc2f18b9b068c20760bfce9cdc81ef4c13f3307b5 (patch)
treeb34a32e0ec909f3145802d2b1fa853d9cb2d02f9 /tests
parent37dba1a739b5ee6c45dc9f3c0bd1f7f7a18f13f7 (diff)
downloadlibgit2-c2f18b9b068c20760bfce9cdc81ef4c13f3307b5.tar.gz
cleanup: unused warning
Diffstat (limited to 'tests')
-rw-r--r--tests/checkout/typechange.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/checkout/typechange.c b/tests/checkout/typechange.c
index c2949e3da..1efea931a 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,