From: Rafael Espindola Date: Fri, 14 Jun 2013 18:12:13 +0000 (+0000) Subject: Remove unused argument. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=f3fa6837bf880ada8c2d43e798c2d62148aacd1f;p=oota-llvm.git Remove unused argument. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183992 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Support/Windows/Program.inc b/lib/Support/Windows/Program.inc index cb3bc699012..ee0f9074286 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(Data); - int Ret = WaitAux(wpi, path, secondsToWait, ErrMsg); + int Ret = WaitAux(wpi, secondsToWait, ErrMsg); CloseHandle(wpi->hProcess); delete wpi;