minor: removing noop call to MarkDirty(), fixing comment
authorMaxim Kalaev <maximus.ka@gmail.com>
Fri, 28 Jun 2013 17:48:30 +0000 (20:48 +0300)
committerNico Weber <nicolasweber@gmx.de>
Sat, 20 Jul 2013 04:45:43 +0000 (21:45 -0700)
src/build.cc

index 52dac87..2fbfdec 100644 (file)
@@ -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_;