mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-10 14:10:58 +00:00
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:
parent
2ebb97792d
commit
f3fa6837bf
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user