oleaut32: Mark some fall-throughs in a switch statement

Andrew Talbot andrew.talbot at talbotville.com
Sat Oct 8 11:51:45 CDT 2011


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

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-patches mailing list