From e6eda1f23efab618bb26e7015230d8552b401dc6 Mon Sep 17 00:00:00 2001 From: Michal Schmidt Date: Fri, 20 Apr 2012 02:11:14 +0200 Subject: transaction: remove the anchor link tr->anchor_job is sufficient. --- src/core/job.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/core/job.c') diff --git a/src/core/job.c b/src/core/job.c index 18ec823ebe..aa7cdbff2a 100644 --- a/src/core/job.c +++ b/src/core/job.c @@ -151,18 +151,6 @@ void job_dump(Job *j, FILE*f, const char *prefix) { prefix, yes_no(j->override)); } -bool job_is_anchor(Job *j) { - JobDependency *l; - - assert(j); - - LIST_FOREACH(object, l, j->object_list) - if (!l->subject) - return true; - - return false; -} - /* * Merging is commutative, so imagine the matrix as symmetric. We store only * its lower triangle to avoid duplication. We don't store the main diagonal, -- cgit v1.2.3-54-g00ecf