Module: wine Branch: master Commit: e0d25c6394c44349169cd687a7502d296f211084 URL: http://source.winehq.org/git/wine.git/?a=commit;h=e0d25c6394c44349169cd687a7...
Author: Rob Shearman rob@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 {