summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-07-23 14:46:28 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-07-23 14:46:28 +0200
commit5989966ed3bd58cd362aed8cba6cd5c90b380a32 (patch)
treedc338959677d7e603831fa10fa354e40c20817ae
parentee3c5d7916b48d0c3b1cc08044e27209c14acfdc (diff)
downloadguix-5989966ed3bd58cd362aed8cba6cd5c90b380a32.tar.gz
Remove dead code
-rw-r--r--src/libstore/remote-store.cc2
-rw-r--r--src/libstore/remote-store.hh1
2 files changed, 0 insertions, 3 deletions
diff --git a/src/libstore/remote-store.cc b/src/libstore/remote-store.cc
index 3b021bb2a5..b3967bb241 100644
--- a/src/libstore/remote-store.cc
+++ b/src/libstore/remote-store.cc
@@ -133,8 +133,6 @@ RemoteStore::~RemoteStore()
     try {
         to.flush();
         fdSocket.close();
-        if (child != -1)
-            child.wait(true);
     } catch (...) {
         ignoreException();
     }
diff --git a/src/libstore/remote-store.hh b/src/libstore/remote-store.hh
index 04b60fce4b..b010147643 100644
--- a/src/libstore/remote-store.hh
+++ b/src/libstore/remote-store.hh
@@ -87,7 +87,6 @@ private:
     AutoCloseFD fdSocket;
     FdSink to;
     FdSource from;
-    Pid child;
     unsigned int daemonVersion;
     bool initialised;