diff options
Diffstat (limited to 'source/ui-tree.c')
-rw-r--r--source/ui-tree.c4
1 file changed, 2 insertions, 2 deletions
diff --git a/source/ui-tree.c b/source/ui-tree.c
index 2bb2858..3e2fb5e 100644
--- a/source/ui-tree.c
+++ b/source/ui-tree.c
@@ -212,7 +212,7 @@ static bool print_object(const struct object_id *oid, const char *path,
return true;
}
-static int only_child_cb(const struct object_id *oid, struct strbuf *base,
+static int only_child_cb(const struct object_id *oid, struct strbuf *base UNUSED,
const char *pathname, unsigned mode, void *data)
{
struct only_child *child = data;
@@ -365,7 +365,7 @@ cleanup:
strbuf_release(&class);
}
-static int ls_item(const struct object_id *oid, struct strbuf *base,
+static int ls_item(const struct object_id *oid, struct strbuf *base UNUSED,
const char *pathname, unsigned mode, void *data)
{
struct walk_tree_context *walk = data;