summaryrefslogtreecommitdiffstats
path: root/src/build.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/build.cc')
-rw-r--r--src/build.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/build.cc b/src/build.cc
index 52dac87..2fbfdec 100644
--- a/src/build.cc
+++ b/src/build.cc
@@ -431,14 +431,13 @@ void Plan::CleanNode(DependencyScan* scan, Node* node) {
if (scan->RecomputeOutputDirty(*ei, most_recent_input, 0,
command, *ni)) {
- (*ni)->MarkDirty();
all_outputs_clean = false;
} else {
CleanNode(scan, *ni);
}
}
- // If we cleaned all outputs, mark the node as not wanted.
+ // If we cleaned all outputs, mark the edge as not wanted.
if (all_outputs_clean) {
want_i->second = false;
--wanted_edges_;