Remove some dead code

This commit is contained in:
Eelco Dolstra 2014-07-24 00:00:53 +02:00 committed by Ludovic Courtès
parent 1cffdf5847
commit 4ab4b0c109
2 changed files with 0 additions and 10 deletions

View File

@ -12,7 +12,6 @@ namespace nix {
typedef enum {
wopQuit = 0,
wopIsValidPath = 1,
wopHasSubstitutes = 3,
wopQueryPathHash = 4,

View File

@ -283,15 +283,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,