aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Support/Windows/Program.inc
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-06-14 18:12:13 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-06-14 18:12:13 +0000
commitf3fa6837bf880ada8c2d43e798c2d62148aacd1f (patch)
treeabf830c3ff64c4eca9eef735d77969e44faa5b20 /lib/Support/Windows/Program.inc
parent2ebb97792dceb9729df690ec53cea1a592edfe52 (diff)
downloadexternal_llvm-f3fa6837bf880ada8c2d43e798c2d62148aacd1f.zip
external_llvm-f3fa6837bf880ada8c2d43e798c2d62148aacd1f.tar.gz
external_llvm-f3fa6837bf880ada8c2d43e798c2d62148aacd1f.tar.bz2
Remove unused argument.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183992 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/Windows/Program.inc')
-rw-r--r--lib/Support/Windows/Program.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Support/Windows/Program.inc b/lib/Support/Windows/Program.inc
index cb3bc69..ee0f907 100644
--- a/lib/Support/Windows/Program.inc
+++ b/lib/Support/Windows/Program.inc
@@ -356,8 +356,8 @@ static bool Execute(void **Data,
return true;
}
-static int WaitAux(Win32ProcessInfo *wpi, const Path &path,
- unsigned secondsToWait, std::string *ErrMsg) {
+static int WaitAux(Win32ProcessInfo *wpi, unsigned secondsToWait,
+ std::string *ErrMsg) {
// Wait for the process to terminate.
HANDLE hProcess = wpi->hProcess;
DWORD millisecondsToWait = INFINITE;
@@ -401,7 +401,7 @@ static int WaitAux(Win32ProcessInfo *wpi, const Path &path,
static int Wait(void *&Data, const Path &path, unsigned secondsToWait,
std::string *ErrMsg) {
Win32ProcessInfo *wpi = reinterpret_cast<Win32ProcessInfo *>(Data);
- int Ret = WaitAux(wpi, path, secondsToWait, ErrMsg);
+ int Ret = WaitAux(wpi, secondsToWait, ErrMsg);
CloseHandle(wpi->hProcess);
delete wpi;