Marcus Meissner : kernel32: Avoid shadowing "ret" variable.

Alexandre Julliard julliard at winehq.org
Mon Oct 24 13:43:54 CDT 2011


Module: wine
Branch: master
Commit: 69b713618b5e4b22d3d2761b7bf5e54e1a79987c
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=69b713618b5e4b22d3d2761b7bf5e54e1a79987c

Author: Marcus Meissner <meissner at suse.de>
Date:   Fri Oct 21 08:18:21 2011 +0200

kernel32: Avoid shadowing "ret" variable.

---

 dlls/kernel32/console.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/kernel32/console.c b/dlls/kernel32/console.c
index bab2322..e66e9b8 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);




More information about the wine-cvs mailing list