summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--commit-graph.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/commit-graph.c b/commit-graph.c
index 936119b1f9..d4a7280fa1 100644
--- a/commit-graph.c
+++ b/commit-graph.c
@@ -896,7 +896,6 @@ void write_commit_graph(const char *obj_dir,
close_reachable(&oids, report_progress);
QSORT(oids.list, oids.nr, commit_compare);
-
count_distinct = 1;
for (i = 1; i < oids.nr; i++) {
if (!oideq(&oids.list[i - 1], &oids.list[i]))