]> git.ipfire.org Git - thirdparty/git.git/blobdiff - packfile.c
refs: unify parse_worktree_ref() and ref_type()
[thirdparty/git.git] / packfile.c
index a41887c94458669bda7285f50711b90ec53855bb..c0d7dd93f46dfbc07ea0f17839d4a2d1a9d43622 100644 (file)
@@ -1392,7 +1392,7 @@ static int delta_base_cache_key_eq(const struct delta_base_cache_key *a,
        return a->p == b->p && a->base_offset == b->base_offset;
 }
 
-static int delta_base_cache_hash_cmp(const void *unused_cmp_data,
+static int delta_base_cache_hash_cmp(const void *cmp_data UNUSED,
                                     const struct hashmap_entry *va,
                                     const struct hashmap_entry *vb,
                                     const void *vkey)