commit 317dd7445e47bf1d9f9e99fbc570ed31d8ffe0a7 from: Stefan Sperling via: Thomas Adam date: Wed Feb 05 12:44:19 2025 UTC remove unused parameter 'nqueued' from pin_pack_for_commit_painting() commit - 20b176d5c92c33da5ed03237b023fe8da90f66b1 commit + 317dd7445e47bf1d9f9e99fbc570ed31d8ffe0a7 blob - 47dc6a00c004f266e6f25f66130ce22abb1e6cc6 blob + 935b18853fe57df4e01b6fd72a54af549b3a43e5 --- lib/pack_create_privsep.c +++ lib/pack_create_privsep.c @@ -393,7 +393,7 @@ paint_packed_commits(struct got_object_qid **qid0, static const struct got_error * pin_pack_for_commit_painting(struct got_pack **pack, - struct got_packidx **packidx, struct got_object_id_queue *ids, int nqueued, + struct got_packidx **packidx, struct got_object_id_queue *ids, struct got_repository *repo) { const struct got_error *err; @@ -433,7 +433,7 @@ got_pack_paint_commits(int *ncolored, struct got_objec int nqueued = nids, nskip = 0; int idx; - err = pin_pack_for_commit_painting(&pack, &packidx, ids, nqueued, repo); + err = pin_pack_for_commit_painting(&pack, &packidx, ids, repo); if (err) return err; @@ -450,7 +450,7 @@ got_pack_paint_commits(int *ncolored, struct got_objec pack = got_repo_get_pinned_pack(repo); if (pack == NULL) { err = pin_pack_for_commit_painting(&pack, &packidx, - ids, nqueued, repo); + ids, repo); if (err) break; }