Andrew Talbot : oleaut32: Mark some fall-throughs in a switch statement.

Alexandre Julliard julliard at winehq.org
Sat Oct 8 15:16:37 CDT 2011


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

Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date:   Sat Oct  8 17:51:45 2011 +0100

oleaut32: Mark some fall-throughs in a switch statement.

---

 dlls/oleaut32/typelib2.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/dlls/oleaut32/typelib2.c b/dlls/oleaut32/typelib2.c
index d761491..fd4e547 100644
--- a/dlls/oleaut32/typelib2.c
+++ b/dlls/oleaut32/typelib2.c
@@ -899,11 +899,13 @@ static HRESULT ctl2_encode_variant(
         mask = 0x3ffffff;
         if(V_UI4(&v)>0x3ffffff)
             break;
+        /* fall through */
     case VT_I1:
     case VT_UI1:
     case VT_BOOL:
-         if(!mask)
-             mask = 0xff;
+        if(!mask)
+            mask = 0xff;
+        /* fall through */
     case VT_I2:
     case VT_UI2:
         if(!mask)




More information about the wine-cvs mailing list