commit 4fb0d74079081591653073107e46658d1417d52b from: Stefan Sperling date: Sun Sep 09 13:57:26 2018 UTC remove unused parameter of open_packfile() commit - 4a9c75d926537fb806006fd1630c69521f069ec9 commit + 4fb0d74079081591653073107e46658d1417d52b blob - a771aaa00c565347c2b768710ae88f82e80a5f0f blob + 16380459809de2549c874f78da8699e0f046af3b --- lib/pack.c +++ lib/pack.c @@ -630,8 +630,7 @@ read_packfile_hdr(int fd, struct got_packidx *packidx) } static const struct got_error * -open_packfile(int *fd, const char *path_packfile, - struct got_repository *repo, struct got_packidx *packidx) +open_packfile(int *fd, const char *path_packfile, struct got_packidx *packidx) { const struct got_error *err = NULL; @@ -701,7 +700,7 @@ cache_pack(struct got_pack **packp, const char *path_p goto done; } - err = open_packfile(&pack->fd, path_packfile, repo, packidx); + err = open_packfile(&pack->fd, path_packfile, packidx); if (err) goto done;