Alistair Leslie-Hughes : mshtml: Remove redundant assignments.

Alexandre Julliard julliard at winehq.org
Mon Jun 17 15:54:21 CDT 2019


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

Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date:   Fri Jun 14 05:53:30 2019 +0000

mshtml: Remove redundant assignments.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/mshtml/oleobj.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/dlls/mshtml/oleobj.c b/dlls/mshtml/oleobj.c
index 274db8c..1d8d626 100644
--- a/dlls/mshtml/oleobj.c
+++ b/dlls/mshtml/oleobj.c
@@ -922,7 +922,6 @@ static HRESULT WINAPI OleControl_OnAmbientPropertyChange(IOleControl *iface, DIS
         if(V_VT(&res) == VT_BOOL) {
             if(V_BOOL(&res)) {
                 FIXME("silent mode is not supported\n");
-                hres = E_FAIL;
             }
         }else {
             FIXME("silent=%s\n", debugstr_variant(&res));
@@ -935,7 +934,6 @@ static HRESULT WINAPI OleControl_OnAmbientPropertyChange(IOleControl *iface, DIS
             return S_OK;
 
         FIXME("not supported AMBIENT_USERAGENT\n");
-        hres = E_FAIL;
         return S_OK;
     case DISPID_AMBIENT_PALETTE:
         TRACE("(%p)->(DISPID_AMBIENT_PALETTE)\n", This);
@@ -944,7 +942,6 @@ static HRESULT WINAPI OleControl_OnAmbientPropertyChange(IOleControl *iface, DIS
             return S_OK;
 
         FIXME("not supported AMBIENT_PALETTE\n");
-        hres = E_FAIL;
         return S_OK;
     }
 




More information about the wine-cvs mailing list