summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMaxim Kalaev <maximus.ka@gmail.com>2013-06-28 17:48:30 (GMT)
committerNico Weber <nicolasweber@gmx.de>2013-07-20 04:45:43 (GMT)
commitd864d8446ce465781127294f6f2d5efa86645967 (patch)
tree6e88e2d40fac1df7352598a20cecf4aa5a951114 /src
parentb209096873434eaee96068251d02b352ff58eb8f (diff)
downloadNinja-d864d8446ce465781127294f6f2d5efa86645967.zip
Ninja-d864d8446ce465781127294f6f2d5efa86645967.tar.gz
Ninja-d864d8446ce465781127294f6f2d5efa86645967.tar.bz2
minor: removing noop call to MarkDirty(), fixing comment
Diffstat (limited to 'src')
-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_;