aboutsummaryrefslogtreecommitdiffstats
path: root/fastos
diff options
context:
space:
mode:
authorArne Juul <arnej@verizonmedia.com>2021-09-01 21:35:38 +0000
committerArne Juul <arnej@verizonmedia.com>2021-09-01 21:35:38 +0000
commitde83f5d1cee5e64ab35152d504c02e648683a05f (patch)
tree32f209665e1a35824c4ada625a920067662345cc /fastos
parent5e33ceaca1167fa78f45e11fe9602d7273c66b82 (diff)
remove unused argument
Diffstat (limited to 'fastos')
-rw-r--r--fastos/src/vespa/fastos/unix_process.cpp4
-rw-r--r--fastos/src/vespa/fastos/unix_process.h2
2 files changed, 2 insertions, 4 deletions
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);