Rob Shearman : ole32: Fix local-variable shadowing in apartment_hostobject_thread.

Alexandre Julliard julliard at winehq.org
Wed Feb 13 10:40:09 CST 2008


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

Author: Rob Shearman <rob at codeweavers.com>
Date:   Wed Feb 13 12:34:52 2008 +0000

ole32: Fix local-variable shadowing in apartment_hostobject_thread.

---

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

diff --git a/dlls/ole32/compobj.c b/dlls/ole32/compobj.c
index 2ccccdf..73bd0f3 100644
--- a/dlls/ole32/compobj.c
+++ b/dlls/ole32/compobj.c
@@ -591,9 +591,9 @@ static DWORD CALLBACK apartment_hostobject_thread(LPVOID p)
     {
         if (!msg.hwnd && (msg.message == DM_HOSTOBJECT))
         {
-            struct host_object_params *params = (struct host_object_params *)msg.lParam;
-            params->hr = apartment_hostobject(apt, params);
-            SetEvent(params->event);
+            struct host_object_params *obj_params = (struct host_object_params *)msg.lParam;
+            obj_params->hr = apartment_hostobject(apt, obj_params);
+            SetEvent(obj_params->event);
         }
         else
         {




More information about the wine-cvs mailing list