[PATCH] mshtml: Remove redundant assignments.

Alistair Leslie-Hughes leslie_alistair at hotmail.com
Fri Jun 14 00:53:30 CDT 2019


Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
---
 dlls/mshtml/oleobj.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/dlls/mshtml/oleobj.c b/dlls/mshtml/oleobj.c
index ba02e811cc..3a27985c37 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;
     }
 
-- 
2.17.1



More information about the wine-devel mailing list