Browse Source

Remove unnecessary variable assignment

waiting_for_deps will always already be false when bring_down() is
called.
Davin McCall 2 years ago
parent
commit
c96e9cb6cc
1 changed files with 0 additions and 1 deletions
  1. 0 1
      src/service.cc

+ 0 - 1
src/service.cc

@@ -694,7 +694,6 @@ bool service_record::stop_dependents(bool for_restart) noexcept
 // All dependents have stopped; we can stop now, too. Only called when STOPPING.
 void service_record::bring_down() noexcept
 {
-    waiting_for_deps = false;
     stopped();
 }