From de83f5d1cee5e64ab35152d504c02e648683a05f Mon Sep 17 00:00:00 2001 From: Arne Juul Date: Wed, 1 Sep 2021 21:35:38 +0000 Subject: remove unused argument --- fastos/src/vespa/fastos/unix_process.cpp | 4 +--- fastos/src/vespa/fastos/unix_process.h | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'fastos') diff --git a/fastos/src/vespa/fastos/unix_process.cpp b/fastos/src/vespa/fastos/unix_process.cpp index 76c0bd68200..ce4935053e5 100644 --- a/fastos/src/vespa/fastos/unix_process.cpp +++ b/fastos/src/vespa/fastos/unix_process.cpp @@ -462,7 +462,6 @@ ForkAndExec(const char *command, processStarter->CloseProxyDescs(IsStdinPiped() ? _stdinDes[0] : -1, IsStdoutPiped() ? _stdoutDes[1] : -1, IsStderrPiped() ? _stderrDes[1] : -1, - -1, _handshakeDes[0], _handshakeDes[1]); } @@ -929,7 +928,7 @@ FastOS_UNIX_ProcessStarter::CloseProxiedChildDescs() void FastOS_UNIX_ProcessStarter::CloseProxyDescs(int stdinPipedDes, int stdoutPipedDes, int stderrPipedDes, - int ipcDes, int handshakeDes0, int handshakeDes1) + int handshakeDes0, int handshakeDes1) { return; if (_closedProxyProcessFiles) @@ -940,7 +939,6 @@ FastOS_UNIX_ProcessStarter::CloseProxyDescs(int stdinPipedDes, int stdoutPipedDe if (fd != stdinPipedDes && fd != stdoutPipedDes && fd != stderrPipedDes && - fd != ipcDes && fd != handshakeDes0 && fd != handshakeDes1) close(fd); diff --git a/fastos/src/vespa/fastos/unix_process.h b/fastos/src/vespa/fastos/unix_process.h index 907f5f5b6f6..cbc3ae812b9 100644 --- a/fastos/src/vespa/fastos/unix_process.h +++ b/fastos/src/vespa/fastos/unix_process.h @@ -175,7 +175,7 @@ public: void CloseProxiedChildDescs(); void CloseProxyDescs(int stdinPipedDes, int stdoutPipedDes, int stderrPipedDes, - int ipcDes, int handshakeDes0, int handshakeDes1); + int handshakeDes0, int handshakeDes1); bool CreateProcess (FastOS_UNIX_Process *process, bool useShell, bool pipeStdin, bool pipeStdout, bool pipeStderr); -- cgit v1.2.3