Module: wine
Branch: master
Commit: c228ecba3918a2e6fd3a27c2e7a8c4296467729c
URL: http://source.winehq.org/git/wine.git/?a=commit;h=c228ecba3918a2e6fd3a27c2e…
Author: Andrew Talbot <andrew.talbot(a)talbotville.com>
Date: Sat Oct 8 17:51:42 2011 +0100
ntdll: Mark some fall-throughs in a switch statement.
---
dlls/ntdll/sec.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
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;
}