]> git.ipfire.org Git - thirdparty/git.git/blobdiff - packfile.c
for_each_object: mark unused callback parameters
[thirdparty/git.git] / packfile.c
index 79e21ab18e7844461c3743e45ebb7ccc1022caea..4dc0e15aa51845202cf3051e2cefdf08cd24c83a 100644 (file)
@@ -2204,8 +2204,8 @@ int for_each_packed_object(each_packed_object_fn cb, void *data,
 }
 
 static int add_promisor_object(const struct object_id *oid,
-                              struct packed_git *pack,
-                              uint32_t pos,
+                              struct packed_git *pack UNUSED,
+                              uint32_t pos UNUSED,
                               void *set_)
 {
        struct oidset *set = set_;