]> git.ipfire.org Git - thirdparty/git.git/blobdiff - archive.c
refs: unify parse_worktree_ref() and ref_type()
[thirdparty/git.git] / archive.c
index d5109abb894200f9b37b3631286a529437463816..61a79e4a2270dfc0e738ee97dd5cb5a9054ba79f 100644 (file)
--- a/archive.c
+++ b/archive.c
@@ -382,7 +382,8 @@ struct path_exists_context {
        struct archiver_args *args;
 };
 
-static int reject_entry(const struct object_id *oid, struct strbuf *base,
+static int reject_entry(const struct object_id *oid UNUSED,
+                       struct strbuf *base,
                        const char *filename, unsigned mode,
                        void *context)
 {