commit 4a9c75d926537fb806006fd1630c69521f069ec9 from: Stefan Sperling date: Sun Sep 09 13:56:38 2018 UTC remove unused parameter of get_packfile_path() commit - 3413160a99d35c17f3e9d1c472eed30769530007 commit + 4a9c75d926537fb806006fd1630c69521f069ec9 blob - b185f2ed51fdd7f9637f01d99efc13e20d86763a blob + a771aaa00c565347c2b768710ae88f82e80a5f0f --- lib/pack.c +++ lib/pack.c @@ -583,8 +583,7 @@ done: } 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; @@ -1169,7 +1168,7 @@ open_packed_object(struct got_object **obj, struct got 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;