summaryrefslogtreecommitdiff
path: root/tests/checkout
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2015-02-03 05:35:24 +0000
committerEdward Thomson <ethomson@edwardthomson.com>2015-02-04 14:15:13 +0000
commitfa89ff20cd777fafc3e971bbf8081d97ce082c15 (patch)
tree4b0aa145b521abecfa5c31eb7efa67be25b34e98 /tests/checkout
parent500ec5431564d9167985a02909823e1286136d5b (diff)
downloadlibgit2-fa89ff20cd777fafc3e971bbf8081d97ce082c15.tar.gz
remove some unused warnings
Diffstat (limited to 'tests/checkout')
-rw-r--r--tests/checkout/tree.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/checkout/tree.c b/tests/checkout/tree.c
index 42f32a8d9..239ee55bc 100644
--- a/tests/checkout/tree.c
+++ b/tests/checkout/tree.c
@@ -1137,6 +1137,10 @@ void update_attr_callback(
size_t total_steps,
void *payload)
{
+ GIT_UNUSED(completed_steps);
+ GIT_UNUSED(total_steps);
+ GIT_UNUSED(payload);
+
if (path && strcmp(path, "ident1.txt") == 0)
cl_git_write2file("testrepo/.gitattributes",
"*.txt ident\n", 12, O_RDWR|O_CREAT, 0666);