ntdll: Mark some fall-throughs in a switch statement

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


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

diff --git a/dlls/ntdll/sec.c b/dlls/ntdll/sec.c
index c8e8a4d..5e27730 100644
--- a/dlls/ntdll/sec.c
+++ b/dlls/ntdll/sec.c
@@ -166,12 +166,19 @@ NTSTATUS WINAPI RtlAllocateAndInitializeSid (
     switch( nSubAuthorityCount )
     {
         case 8: tmp_sid->SubAuthority[7]= nSubAuthority7;
+            /* fall through */
         case 7: tmp_sid->SubAuthority[6]= nSubAuthority6;
+            /* fall through */
         case 6: tmp_sid->SubAuthority[5]= nSubAuthority5;
+            /* fall through */
         case 5: tmp_sid->SubAuthority[4]= nSubAuthority4;
+            /* fall through */
         case 4: tmp_sid->SubAuthority[3]= nSubAuthority3;
+            /* fall through */
         case 3: tmp_sid->SubAuthority[2]= nSubAuthority2;
+            /* fall through */
         case 2: tmp_sid->SubAuthority[1]= nSubAuthority1;
+            /* fall through */
         case 1: tmp_sid->SubAuthority[0]= nSubAuthority0;
         break;
     }



More information about the wine-patches mailing list