transport: drop refnames from for_each_alternate_ref
[git/git.git] / builtin / receive-pack.c
index c17ce94..edbc76f 100644 (file)
@@ -280,8 +280,7 @@ static int show_ref_cb(const char *path_full, const struct object_id *oid,
        return 0;
 }
 
-static void show_one_alternate_ref(const char *refname,
-                                  const struct object_id *oid,
+static void show_one_alternate_ref(const struct object_id *oid,
                                   void *data)
 {
        struct oidset *seen = data;