Austin English : mshtml: Avoid shadowing a parameter.

Alexandre Julliard julliard at winehq.org
Tue Mar 29 11:43:02 CDT 2011


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

Author: Austin English <austinenglish at gmail.com>
Date:   Mon Mar 21 17:40:33 2011 -0700

mshtml: Avoid shadowing a parameter.

---

 dlls/mshtml/htmlwindow.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dlls/mshtml/htmlwindow.c b/dlls/mshtml/htmlwindow.c
index 656999e..695b829 100644
--- a/dlls/mshtml/htmlwindow.c
+++ b/dlls/mshtml/htmlwindow.c
@@ -2148,22 +2148,22 @@ static HRESULT HTMLWindow_invoke(DispatchEx *dispex, DISPID id, LCID lcid, WORD
 
     switch(prop->type) {
     case GLOBAL_SCRIPTVAR: {
-        IDispatchEx *dispex;
+        IDispatchEx *iface;
         IDispatch *disp;
 
         disp = get_script_disp(prop->script_host);
         if(!disp)
             return E_UNEXPECTED;
 
-        hres = IDispatch_QueryInterface(disp, &IID_IDispatchEx, (void**)&dispex);
+        hres = IDispatch_QueryInterface(disp, &IID_IDispatchEx, (void**)&iface);
         if(SUCCEEDED(hres)) {
             TRACE("%s >>>\n", debugstr_w(prop->name));
-            hres = IDispatchEx_InvokeEx(dispex, prop->id, lcid, flags, params, res, ei, caller);
+            hres = IDispatchEx_InvokeEx(iface, prop->id, lcid, flags, params, res, ei, caller);
             if(hres == S_OK)
                 TRACE("%s <<<\n", debugstr_w(prop->name));
             else
                 WARN("%s <<< %08x\n", debugstr_w(prop->name), hres);
-            IDispatchEx_Release(dispex);
+            IDispatchEx_Release(iface);
         }else {
             FIXME("No IDispatchEx\n");
         }




More information about the wine-cvs mailing list