Michael Stefaniuc : kernel32: Do not reuse the name of a function argument for a local variable.

Alexandre Julliard julliard at winehq.org
Fri Dec 14 07:39:42 CST 2007


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

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Fri Dec 14 00:18:21 2007 +0100

kernel32: Do not reuse the name of a function argument for a local variable.

---

 dlls/kernel32/utthunk.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/kernel32/utthunk.c b/dlls/kernel32/utthunk.c
index a142216..55ff733 100644
--- a/dlls/kernel32/utthunk.c
+++ b/dlls/kernel32/utthunk.c
@@ -167,8 +167,8 @@ static UTINFO *UTAlloc( HMODULE hModule, HMODULE16 hModule16,
 
     if ( !UTGlue16_Segptr )
     {
-        HMODULE16 hModule = GetModuleHandle16( "KERNEL" );
-        UTGlue16_Segptr = GetProcAddress16( hModule, "UTGlue16" );
+        HMODULE16 hMod = GetModuleHandle16( "KERNEL" );
+        UTGlue16_Segptr = GetProcAddress16( hMod, "UTGlue16" );
         if ( !UTGlue16_Segptr ) return NULL;
     }
 




More information about the wine-cvs mailing list