commit - 3413160a99d35c17f3e9d1c472eed30769530007
commit + 4a9c75d926537fb806006fd1630c69521f069ec9
blob - b185f2ed51fdd7f9637f01d99efc13e20d86763a
blob + a771aaa00c565347c2b768710ae88f82e80a5f0f
--- lib/pack.c
+++ lib/pack.c
}
static const struct got_error *
-get_packfile_path(char **path_packfile, struct got_repository *repo,
- struct got_packidx *packidx)
+get_packfile_path(char **path_packfile, struct got_packidx *packidx)
{
size_t size;
if (offset == (uint64_t)-1)
return got_error(GOT_ERR_BAD_PACKIDX);
- err = get_packfile_path(&path_packfile, repo, packidx);
+ err = get_packfile_path(&path_packfile, packidx);
if (err)
return err;