forked from lix-project/lix
Remove some dead code
This commit is contained in:
parent
62ad3dfc43
commit
d3c61d83be
2 changed files with 0 additions and 10 deletions
|
@ -12,7 +12,6 @@ namespace nix {
|
||||||
|
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
wopQuit = 0,
|
|
||||||
wopIsValidPath = 1,
|
wopIsValidPath = 1,
|
||||||
wopHasSubstitutes = 3,
|
wopHasSubstitutes = 3,
|
||||||
wopQueryPathHash = 4,
|
wopQueryPathHash = 4,
|
||||||
|
|
|
@ -151,15 +151,6 @@ static void performOp(bool trusted, unsigned int clientVersion,
|
||||||
{
|
{
|
||||||
switch (op) {
|
switch (op) {
|
||||||
|
|
||||||
#if 0
|
|
||||||
case wopQuit: {
|
|
||||||
/* Close the database. */
|
|
||||||
store.reset((StoreAPI *) 0);
|
|
||||||
writeInt(1, to);
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
case wopIsValidPath: {
|
case wopIsValidPath: {
|
||||||
/* 'readStorePath' could raise an error leading to the connection
|
/* 'readStorePath' could raise an error leading to the connection
|
||||||
being closed. To be able to recover from an invalid path error,
|
being closed. To be able to recover from an invalid path error,
|
||||||
|
|
Loading…
Reference in a new issue