Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'walker.c')
-rw-r--r--walker.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/walker.c b/walker.c
index c5e2921979..f945d021f8 100644
--- a/walker.c
+++ b/walker.c
@@ -215,8 +215,10 @@ static int interpret_target(struct walker *walker, char *target, struct object_i
return -1;
}
-static int mark_complete(const char *path, const struct object_id *oid,
- int flag, void *cb_data)
+static int mark_complete(const char *UNUSED(path),
+ const struct object_id *oid,
+ int UNUSED(flag),
+ void *UNUSED(cb_data))
{
struct commit *commit = lookup_commit_reference_gently(the_repository,
oid, 1);