about summary refs log tree commit diff
path: root/src/nix-daemon/nix-daemon.cc
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-07-23T22·00+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-07-23T22·00+0200
commitd3c61d83be254790101a67904b37e5439e98b4b2 (patch)
tree08e181dc24191d701170e1ba57a8e9674b67e789 /src/nix-daemon/nix-daemon.cc
parent62ad3dfc4335e6b3c8acff5e7de9b8cf19c9cdbe (diff)
Remove some dead code
Diffstat (limited to 'src/nix-daemon/nix-daemon.cc')
-rw-r--r--src/nix-daemon/nix-daemon.cc9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/nix-daemon/nix-daemon.cc b/src/nix-daemon/nix-daemon.cc
index c38cf74d8824..2d6a3c4c416b 100644
--- a/src/nix-daemon/nix-daemon.cc
+++ b/src/nix-daemon/nix-daemon.cc
@@ -151,15 +151,6 @@ static void performOp(bool trusted, unsigned int clientVersion,
 {
     switch (op) {
 
-#if 0
-    case wopQuit: {
-        /* Close the database. */
-        store.reset((StoreAPI *) 0);
-        writeInt(1, to);
-        break;
-    }
-#endif
-
     case wopIsValidPath: {
         /* 'readStorePath' could raise an error leading to the connection
            being closed.  To be able to recover from an invalid path error,