Skip to content

Commit d3c61d8

Browse files
committed
Remove some dead code
1 parent 62ad3df commit d3c61d8

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

src/libstore/worker-protocol.hh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ namespace nix {
1212

1313

1414
typedef enum {
15-
wopQuit = 0,
1615
wopIsValidPath = 1,
1716
wopHasSubstitutes = 3,
1817
wopQueryPathHash = 4,

src/nix-daemon/nix-daemon.cc

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -151,15 +151,6 @@ static void performOp(bool trusted, unsigned int clientVersion,
151151
{
152152
switch (op) {
153153

154-
#if 0
155-
case wopQuit: {
156-
/* Close the database. */
157-
store.reset((StoreAPI *) 0);
158-
writeInt(1, to);
159-
break;
160-
}
161-
#endif
162-
163154
case wopIsValidPath: {
164155
/* 'readStorePath' could raise an error leading to the connection
165156
being closed. To be able to recover from an invalid path error,

0 commit comments

Comments
 (0)