guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

72/118: Remove dead code


From: Ludovic Courtès
Subject: 72/118: Remove dead code
Date: Tue, 19 May 2015 14:45:45 +0000

civodul pushed a commit to branch nix
in repository guix.

commit 5989966ed3bd58cd362aed8cba6cd5c90b380a32
Author: Eelco Dolstra <address@hidden>
Date:   Wed Jul 23 14:46:28 2014 +0200

    Remove dead code
---
 src/libstore/remote-store.cc |    2 --
 src/libstore/remote-store.hh |    1 -
 2 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/src/libstore/remote-store.cc b/src/libstore/remote-store.cc
index 3b021bb..b3967bb 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 04b60fc..b010147 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;
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]