Remove unused argument.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183992 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola 2013-06-14 18:12:13 +00:00
parent 2ebb97792d
commit f3fa6837bf

View File

@ -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;