]> git.ipfire.org Git - thirdparty/git.git/blobdiff - refs.c
do_for_each_ref_helper(): mark unused repository parameter
[thirdparty/git.git] / refs.c
diff --git a/refs.c b/refs.c
index c029f64982f2308ebef8e199e9ab926f36d32ae2..edeae90ebb532a071485e0812d66db0637304c47 100644 (file)
--- a/refs.c
+++ b/refs.c
@@ -1588,7 +1588,7 @@ struct do_for_each_ref_help {
        void *cb_data;
 };
 
-static int do_for_each_ref_helper(struct repository *r,
+static int do_for_each_ref_helper(struct repository *r UNUSED,
                                  const char *refname,
                                  const struct object_id *oid,
                                  int flags,