Commit Diff


commit - 0c56991c4dc86cc1e17785ae68843010cab7f15da10b3a38e50c5d8ebf80863f
commit + 10af4d61d80216f8cb8f53df1ebb704397be22f209d471e06113c672a1a63014
blob - 4cbddac5110a390f195493830baa302e8e6834e787523f3d55f427d008277fc4
blob + 4c6d33fbd3b7257ef8921bce3c8cd79749e0aa25dc7faa63461d9e40cb8f4e70
--- lib/pack_create_privsep.c	
+++ lib/pack_create_privsep.c	
@@ -395,7 +395,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;
@@ -435,7 +435,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;
 
@@ -452,7 +452,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;
 		}