Andrew Talbot : mshtml: Mark some fall-throughs in switch statements.

Alexandre Julliard julliard at winehq.org
Tue Oct 4 17:43:05 CDT 2011


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

Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date:   Tue Oct  4 22:48:41 2011 +0100

mshtml: Mark some fall-throughs in switch statements.

---

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

diff --git a/dlls/mshtml/dispex.c b/dlls/mshtml/dispex.c
index 44d0911..75b3f87 100644
--- a/dlls/mshtml/dispex.c
+++ b/dlls/mshtml/dispex.c
@@ -559,6 +559,7 @@ static HRESULT function_value(DispatchEx *dispex, LCID lcid, WORD flags, DISPPAR
     case DISPATCH_METHOD|DISPATCH_PROPERTYGET:
         if(!res)
             return E_INVALIDARG;
+        /* fall through */
     case DISPATCH_METHOD:
         hres = typeinfo_invoke(This->obj, This->info, flags, params, res, ei);
         break;
@@ -611,6 +612,7 @@ static HRESULT function_invoke(DispatchEx *This, func_info_t *func, WORD flags,
     case DISPATCH_METHOD|DISPATCH_PROPERTYGET:
         if(!res)
             return E_INVALIDARG;
+        /* fall through */
     case DISPATCH_METHOD:
         hres = typeinfo_invoke(This, func, flags, dp, res, ei);
         break;
@@ -653,6 +655,7 @@ static HRESULT function_invoke(DispatchEx *This, func_info_t *func, WORD flags,
     }
     default:
         FIXME("Unimplemented flags %x\n", flags);
+        /* fall through */
     case DISPATCH_PROPERTYPUT:
         hres = E_NOTIMPL;
     }
@@ -932,6 +935,7 @@ static HRESULT WINAPI DispatchEx_InvokeEx(IDispatchEx *iface, DISPID id, LCID lc
         case DISPATCH_METHOD|DISPATCH_PROPERTYGET:
             if(!pvarRes)
                 return E_INVALIDARG;
+            /* fall through */
         case DISPATCH_METHOD: {
             DISPID named_arg = DISPID_THIS;
             DISPPARAMS dp = {NULL, &named_arg, 0, 1};




More information about the wine-cvs mailing list