From cf6b3e34b59ad120111e0c1ead779bbb3a70c38d Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 12 Mar 2015 15:43:17 +0200 Subject: Implement clean operation --- build/algorithm.txx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'build/algorithm.txx') diff --git a/build/algorithm.txx b/build/algorithm.txx index 4c9a673..1e22be1 100644 --- a/build/algorithm.txx +++ b/build/algorithm.txx @@ -18,9 +18,10 @@ namespace build for (const prerequisite& p: t.prerequisites) { - assert (p.target != nullptr); - target& pt (*p.target); + if (p.target == nullptr) // Skip ignored. + continue; + target& pt (*p.target); target_state ts (execute (a, pt)); if (!e) -- cgit v1.1