From 69b713618b5e4b22d3d2761b7bf5e54e1a79987c Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Fri, 21 Oct 2011 08:18:21 +0200 Subject: [PATCH] kernel32: Avoid shadowing "ret" variable. --- dlls/kernel32/console.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dlls/kernel32/console.c b/dlls/kernel32/console.c index bab2322a17e..e66e9b8b771 100644 --- a/dlls/kernel32/console.c +++ b/dlls/kernel32/console.c @@ -1448,16 +1448,16 @@ static BOOL start_console_renderer_helper(const char* appname, STARTUPINFOA* NULL, NULL, si, &pi)) { HANDLE wh[2]; - DWORD ret; + DWORD res; wh[0] = hEvent; wh[1] = pi.hProcess; - ret = WaitForMultipleObjects(2, wh, FALSE, INFINITE); + res = WaitForMultipleObjects(2, wh, FALSE, INFINITE); CloseHandle(pi.hThread); CloseHandle(pi.hProcess); - if (ret != WAIT_OBJECT_0) return FALSE; + if (res != WAIT_OBJECT_0) return FALSE; TRACE("Started wineconsole pid=%08x tid=%08x\n", pi.dwProcessId, pi.dwThreadId);