about summary refs log tree commit diff
path: root/third_party/nix/src/nix-daemon
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/src/nix-daemon')
-rw-r--r--third_party/nix/src/nix-daemon/nix-daemon.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/third_party/nix/src/nix-daemon/nix-daemon.cc b/third_party/nix/src/nix-daemon/nix-daemon.cc
index da3d909f1820..5296199380b3 100644
--- a/third_party/nix/src/nix-daemon/nix-daemon.cc
+++ b/third_party/nix/src/nix-daemon/nix-daemon.cc
@@ -630,12 +630,13 @@ static void performOp(TunnelLogger* logger, const ref<Store>& store,
       break;
     }
 
-    case wopOptimiseStore:
+    case wopOptimiseStore: {
       logger->startWork();
       store->optimiseStore();
       logger->stopWork();
       to << 1;
       break;
+    }
 
     case wopVerifyStore: {
       bool checkContents;