aboutsummaryrefslogtreecommitdiff
path: root/build/algorithm.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build/algorithm.cxx')
-rw-r--r--build/algorithm.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/build/algorithm.cxx b/build/algorithm.cxx
index 615d4b7..bf10b84 100644
--- a/build/algorithm.cxx
+++ b/build/algorithm.cxx
@@ -85,9 +85,7 @@ namespace build
size_t oi (o - 1); // Operation index in rule_map.
scope& bs (t.base_scope ());
- for (auto tt (&t.type ());
- tt != nullptr && !t.recipe (ra);
- tt = tt->base)
+ for (auto tt (&t.type ()); tt != nullptr; tt = tt->base)
{
// Search scopes outwards, stopping at the project root.
//