transport: drop refnames from for_each_alternate_ref
[gitweb.git] / builtin / receive-pack.c
index c17ce94e12ee34c5b822b0e09fcd6d7264e759ad..edbc76fd87023314b29805fd21757258a3b7190b 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;