瀏覽代碼

Remove unnecessary variable assignment

waiting_for_deps will always already be false when bring_down() is
called.
Davin McCall 2 年之前
父節點
當前提交
c96e9cb6cc
共有 1 個文件被更改,包括 0 次插入1 次删除
  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();
 }